Friday, December 24, 2010

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

No comments:

Post a Comment

fuzionpro Headline