t2trg / t2trg-rest-iot

RESTful Design for Internet of Things Systems
3 stars 4 forks source link

Pragmatic definition of "application state" #8

Closed mkovatsc closed 7 years ago

mkovatsc commented 8 years ago

Originally, application state defined the state kept on the client, that is, what Web page is currently rendered and which pages were visited before.

This does not make sense anymore when resource state is more than static Web pages, but parameters, physical state, etc. "Application state" logically would mean the state of the overall IoT application (state of the client and resoource state).

mkovatsc commented 8 years ago

Related comment by Mike Amundsen:

I suggest using the words "client state" and "resource state" in section 3.2 of draft-keranen-t2trg-rest-iot. This more clearly identifies who is responsible for which state elements and avoids discussions about "application" and "session" definitions.