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

Re: REST has too many verbs


Re:  REST has too many verbs
On Mon, 2002-02-11 at 22:43, Mark Baker wrote:
> > The question I'm raising isn't about exchanging information.  It's about
> > the entire notion of a function framework.  I'm much more interested in
> > pure messaging than small sets of _functions_.
> 
> "pure messaging" most often refers to the transport and/or session
> layers; getting bits from A to B with some desired QoS with message
> correlation, etc..  While the interest at this layer perks up every so
> often (MUX, BEEP), the real work gets done at the layer above this, the
> application layer.  This layer *MUST* be based on some set of
> "functions", because that's how application layer agreement is made.

Uh, no.  That may be a useful and conventional view of protocol
creation, but it's not at all what I have in mind.  All I have in mind
is A -> B messaging, where the only conversation B is required to have
back to A is an ack - and even that's fairly generous.

If you wanted to define that as a function call we could say:

public void send (URL destination, XML message)

Is that just a socket connection?  Yes, most likely.  Do we need
agreement above that level to get things done?  Most likely.  Does that
agreement need to be spelled out formally in a contract?  No, I don't
think so.

If you _want_ to define functionality above that you CAN, but there is
no MUST.  As long as we know that the stream is in XML, we can do
interesting and possibly useful things with it.

Is that architecture sufficient?  It depends entirely on who you are. 
If you want more, you can build on that.  If you're content with that,
you can work directly with those messages.  (I plan to do so.)

There's nothing magical here - just work to get on with.  I like it that
way.  (And some purists might go as far as UDP messaging, but I'll admit
to finding TCP as far down the stack as I care to venture.)

-- 
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.