Re: the meaning of stateless

Mike Schinkel <[email protected]> Sat, 4 May 2013 03:08:05 -0400
Newsgroups gmane.comp.web.services.rest
Message-ID <[email protected]>
On May 3, 2013, at 10:54 AM, Mark Baker <[email protected]> wrote:
> But using a server-side shopping cart typically *does* violate that
> constraint... not while you're shopping and adding/removing stuff
> to/from the cart, but when you checkout by sending a message which
> means "Purchase what's in that cart", when the intended meaning is
> "Purchase size 9 Nike Air Max for $199".

Forgive me, still trying to improve my evolving understanding.  

From comments in [1] Roy says the following:

Don’t confuse application state (the state of the user’s application of computing to a given task) with resource state (the state of the world as exposed by a given service). They are not the same thing.

Isn't the server-side shopping cart not then "resource state?"

-Mike
[1] http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven