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

REST has too many verbs

  • To: xml-dev@l...
  • Subject: REST has too many verbs
  • From: "Simon St.Laurent" <simonstl@s...>
  • Date: 11 Feb 2002 13:13:29 -0500

rest verbs
After spending a few hours catching up on the REST discussion here and
the discussions which led to it, I'm starting to wonder if REST's
adoration of HTTP raises problems itself.

My concerns about HTTP aren't that HTTP is too simple, but rather that
HTTP itself is too complex and too extensible.  HTTP adds extension
headers and the potential for multiple messages, as well as this array
of GET PUT POST DELETE HEAD etc. verbs. State management is also an
on-again off-again issue.

It seems to me, a thoroughly markup-centric person, that maybe we should
consider verbs either implicit - the recipient should know what it wants
to do with XYZ type of information - or explicit in the data itself.

Either approach makes it possible to, for example, recreate a given
state by feeding in the data that led to that state, without having to
retain additional metadata about what the headers were, what the
response looked like, etc.  Archiving a set of transactions seems a lot
easier in this case, and I suspect the processing is actually less
complex.

I suspect I'm just jaded by too much exposure to Web Services debates,
but the interesting part to me is sending XML from point to point, not
building complex envelopes and sets of expectations around protocols. 
It feels to me like developers feel more comfortable at a greater
distance from the data, but I'm not sure that's wise practice.

I'd love to see an "XMLchucker" protocol that just opens a port, sends
the info, and maybe replies with a checksum or an error.  No more. 
Maybe that'll be another bit of fun to poke at in the future.

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com


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.