RubyGems Navigation menu

restrack 1.5.0

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.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 1.8.2 - January 29, 2013 (58 KB)
  2. 1.8.1 - January 23, 2013 (58 KB)
  3. 1.7.0 - January 03, 2013 (57 KB)
  4. 1.6.9 - December 20, 2012 (56,5 KB)
  5. 1.6.8 - November 14, 2012 (56,5 KB)
  6. 1.5.0 - May 16, 2012 (53 KB)
Mostrar todas las versiones (51 total)

dependencias de Runtime (7):

builder >= 0
i18n >= 0
json >= 0
mime-types >= 0
rack >= 0
xml-simple >= 1.0.13

dependencias de Development (1):

rack-test >= 0

Propietarios:

Autores:

  • Chris St. John

SHA 256 checksum:

14726655c708cdf505ae64a7fa07eb3d5e01a57a532116946ba552fe32d039c8

Total de descargas 155.986

Para esta versión 2.922

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: