[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A Real RESTful online store? - was Re: Re: Cooki


cooki store
Liam Quin scripsit:

> I don't see why not, although the URLs might get a bit long if they
> had to keep the ISBNs for everything you've seen recently as well
> as for everything in your shopping cart.  

REST imposes no such requirement.  There is no problem with servers
keeping state; it's just that the state has to be expressed as a
hyperdocument which can be retrieved by presenting an appropriate URI
(plus appropriate security credentials as needed).

Having a page called "Liam Quin's Recent Purchases" with an URL like
http://store.example.com/recent/liamquinn32 is no problem; you would
have to present your credentials to view this page, since its contents
are sensitive.  Presumably it would contain links to pages with titles
like "Liam Quinn's 2004-01-01 Purchase of _The Complete Works of Leon
Trotsky_", which in turn would provide a link to the page for the
Complete Works.  It is the latter (unsecured) you would normally link to.

-- 
"No, John.  I want formats that are actually       John Cowan
useful, rather than over-featured megaliths that   http://www.ccil.org/~cowan
address all questions by piling on ridiculous      http://www.reutershealth.com
internal links in forms which are hideously        jcowan@r...
over-complex." --Simon St. Laurent on xml-dev

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.