OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re: Cookies at XML Europe 2004 -- Call for Particip ation

[ Lists Home | Date Index | Thread Index ]

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@reutershealth.com
    Using XSLT                                  http://www.reutershealth.com
In an XML DBMS.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS