How to maintain application state?

Encode application state into URI and include those URI’s into representation via links. Let clients use these URI’s to interact with resources. If the state is too large to be transported back and forth, store it in the db and encode a reference to it in URIs.

Leave a Reply

Your email address will not be published. Required fields are marked *