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

Re: Re: Why REST? (RE: WSIO- With Name)


content negotiation rest
Gavin Thomas Nicol wrote:
> 
> On Tuesday 12 February 2002 01:06 pm, Mark Baker wrote:
> > Thought why he wouldn't want it to identify himself, rather than an
> > HTML page is a different question.  Certainly just *because* the GET
> > returns an HTML when you ask it for that (all browsers ask for
> > text/html), doesn't mean that the URI identifies the HTML.  HTML is
> > one *representation* of the resource, not necessarily the resource
> > itself.
> 
> Not everyone subscribes to this view. Most people would be very
> surprised if /mark-baker.jpg sent them an mp3 of a cricket match.

You claim that you like REST but not HTTP. REST is great and simple, but
HTTP is too complicated. But then you argue against the central tenets
of REST. Nothing Mark says above has anything to do with HTTP. It is all
REST.

"REST is defined by four interface constraints: identification of
resources; manipulation of resources through representations;*
self-descriptive messages; and, hypermedia as the engine of application
state."

"This abstract definition of a resource enables key features of the Web
architecture.
First, it provides generality by encompassing many sources of
information without
artificially distinguishing them by type or implementation. Second, it
allows late binding
of the reference to a representation, enabling content negotiation to
take place based on
characteristics of the request." But you don't like content negotiation
either...

If you don't like REST, that's okay. Propose another model.

 Paul Prescod

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.