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:
“How like a prodigal doth nature seem,
When thou, for all thy gold, so common art!
Thou teachest me to deem
More sacredly of every human heart,
Since each reflects in joy its scanty gleam
Of Heaven, and could some wondrous secret show,
Did we but pay the love we owe,
And with a childs undoubting wisdom look
On all these living pages of Gods book.”
—James Russell Lowell (18191891)