manifiesto
Artículos
Preguntas frecuentes
Recursos RoR
Noticias
Descargas
Sandbox
Sitio oficial de ruby
Suscribirse a rubylit
Un concepto importante en rest es la existencia de recursos (resources), cada uno de los cuales pueden ser referenciados a través de un identificador global (uri), para manipular estos recursos los componentes de una red (clientes y servidores) lo hacen a través de una interface estandarizada (HTTP por ej.).
| HTTP | CRUD |
| POST | Create, Update, Delete |
| GET | Read |
| PUT | Create, Update |
| DELETE | Delete |
| Helper Method | GET | POST | PUT | DELETE |
| client_url(@client) | /clients/1[show] | x | clients/1[update] | /clients/1[destroy] |
| clients_url | /clients[index] | /clients[create] | x | x |
| edit_client_url(@client) | /clients/1/edit[edit] | x | x | x |
| new_client_url | /clients/new[new] | x | x | x |
http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
http://en.wikipedia.org/wiki/Representational_State_Transfer
http://www.lukeredpath.co.uk/2007/2/2/refactoring-rest-searching-for-an-abstraction