RoR-understanding Representational state transfer(REST)

What is REST?
  • REST stands for Representational State Transfer
  • It relies the HTTP protocol
  • World Wide Web itself, based on HTTP, can be viewed as a RESTful architecture.
  • REST uses HTTP for all four CRUD (Create/Read/Update/Delete) operations.
  • REST is  alternative to Web Services (SOAP, WSDL, etc.).
  • REST is not a "standard".

For example, to a Rails application a request such as this:

DELETE /photos/17

would be understood to refer to a photo resource with the ID of 17, and to indicate a desired action – deleting that resource.

for more details refer to the following links

Comments

Popular posts from this blog

how to Add Piecemaker a Flash 3D image rotator to blogger