I for one found this post very useful. On Mon, Apr 27, 2009 at 10:16 PM, Robert Walker < rails-mailing-l...@andreas-s.net> wrote:
> > Amita Bhatkhande wrote: > > I have read about REST, but never really understood meaning of > > 'Representational State Transfer'. I tried to read Fielding's > > dissertation, but did not understand this term and why has he used it. > > What does it mean? Which state? What transfer? > > I'm not sure anyone knows why Fielding used this term. I suppose he had > to call it something, so that's what he chose. > > However, I'll try to explain it as I understand it: > > Representational: > The web consists of resources in the form of web pages that are > represented using a Uniform Resource Identifier (URI). REST extends this > definition to refer to other types of resources of an application (i.e. > database tables). Which, can also be represented using a URI. > http://example.com/posts/1 represents the first Post resource in the > posts collection. > > State: > This is the current state of the resources. > > Transfer (or more precisely State Transfer): > The act of modifying the current state of the resources. Adding a new > one, modifying an existing one, deleting an existing one, etc. > > REST defines a convention of using HTTP to both represent and change the > state of resources. That's a close as I can come to defining > "Representational State Transfer." > > Hope that helps. > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---