[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


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.