Common Guidelines
Some guidelines are already common within the larger REST communities:
- Applications should expose many URIs (possibly an infinite number of them), one for each Resource (any resources in your applications should be unambiguously accessible via a unique URI)
- Cookies representing IDs into a server side session are not RESTful
- Combinations of resources (i.e. a particular account viewing results a particular database query) can be RESTful if (and only if) the combination can be represented as a URI.
- RESTful URIs should facilitate "cut & paste" (that's the notion of "transfer" of the "representational state")
Read more about this topic: Resource-oriented Architecture
Famous quotes containing the word common:
“For Banquos issue have I filed my mind;
For them the gracious Duncan have I murdered;
Put rancors in the vessel of my peace
Only for them; and mine eternal jewel
Given to the common enemy of man,
To make them kings, the seeds of Banquo kings!”
—William Shakespeare (15641616)