Categories: None [Edit]

restrack

https://rubygems.org/gems/restrack
https://github.com/stjohncj/RESTRack
RESTRack is a Rack-based MVC framework that makes it extremely easy to develop RESTful data services. It is inspired by Rails, and follows a few of its conventions. But it has no routes file, routing relationships are done through supplying custom code blocks to class methods such as "has_relationship_to" or "has_mapped_relationships_to". RESTRack aims at being lightweight and easy to use. It will automatically render JSON and XML for the data structures you return in your actions (any structure parsable by the "json" and "xml-simple" gems, respectively). If you supply a view for a controller action, you do that using a builder file. Builder files are stored in the view directory grouped by controller name subdirectories (`view//.xml.builder`). XML format requests will then render the view template with the builder gem, rather than generating XML with XmlSimple.

Total

Ranking: 13,115 of 186,995
Downloads: 162,298

Daily

Ranking: 39,972 of 186,959
Downloads: 16

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,192,176,419i18n
71,169,578,855activesupport
81,144,415,803rack
131,097,942,948json
30826,769,186mime-types
32793,301,044builder
37689,684,890rack-test
272163,814,833xml-simple

Owners

#GravatarHandle
1iconstjohncj