|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Cookies at XML Europe 2004 -- Call for Particip ation
Elliotte Rusty Harold scripsit:
> There should be a cleaner solution though. I'm pretty sure the
> shopping cart should be a resource and that it should have a URI of
> its own. And I agree that you shouldn't have to POST into the
> shopping cart.
You need to POST into the shopping cart on REST principles, because
that is what POST is for, creating a new resource related to the old
one. In this case, the new resource will be entitled "ERH Is Going To
Buy _Wittgenstein's Poker_", and a hyperlink will be added from the
cart resource to the newly created resource. When you actually do
buy this, using a POST or PUT transaction depending on the design,
it will become "ERH Has Bought ...".
--
My corporate data's a mess! John Cowan
It's all semi-structured, no less. http://www.ccil.org/~cowan
But I'll be carefree jcowan@r...
Using XSLT http://www.reutershealth.com
In an XML DBMS.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








