mardi 29 mars 2016

What is "Representation State" in REST archtecture

I'm trying to understand the principles of REST architecture, but I'm struggle to understand what the Representational State is and how it is transferred.

Also, here, I encountered the concept "representation of a resource". What is the meaning of "representation of a resource"? This abstraction confuses me...

From Roy Fielding's Ph.D. dissertation:

“Representational State Transfer is intended to evoke an image of how a well-designed Web application behaves: a network of web pages (a virtual state-machine), where the user progresses through an application by selecting links (state transitions), resulting in the next page (representing the next state of the application) being transferred to the user and rendered for their use.”

Maybe, a simple example will help to understand the abstraction.




Aucun commentaire:

Enregistrer un commentaire