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

RE: REST has too many verbs


semantic underpinning of verbs


> -----Original Message-----
> From: Gavin Thomas Nicol [mailto:gtn@r...] 
> Sent: 12 February 2002 21:48
> To: xml-dev@l...
> Subject: Re:  REST has too many verbs
> 
> 
> On Tuesday 12 February 2002 06:18 am, Bill de hÓra wrote:
> > The data structure underpinning a HTTP message is a roughly 
> a list of 
> > key value pairs. The data structure underlying XML is a roughly a 
> > tree. As I see it these data structures are appropriate for the 
> > respective tasks at hand. What is more solid about trees 
> than maps in 
> > the HTTP case?
> 
> I think the hey,value pairs have shown themsevles to be insufficient. 
> Look at MIME media types for a prime example, or the Accept-* 
> headers. 
> Many headers have a built-in ad-hoc syntax for representing structure.

I've run across a similar problem for software agent service
descriptions in a java JSR. There was one key that really wanted its
value to be a sentence in a language. We punted to avoid having to
design a description language that would double as a query language,
hoping to come back to it next time (or hoping someone else would have
done it for us by then ;). 

You're right though. The mapped attribute does seem to eventually need
to evolve from a value to a sentence in a grammar that can express
constraints or exceptions for such, as opposed to a value being composed
of a ^ b ^ c or package specialisation. I see this problem when people
start arguing about xml mimetypes for SOAP. But I guess my question is,
is such a language something that should have been built into say, HTTP
with respect to mimetypes, or something that could have been slotted in,
or indeed left to an application to negotiate?

Bill de hÓra


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.