W3C home > Mailing lists > Public > public-web-http-desc@w3.org > June 2005

Re: Role of operations?

From: Stefan Tilkov <stefan.tilkov@innoq.com>
Date: Thu, 16 Jun 2005 08:26:38 +0200
Message-Id: <E1CA489D-BB92-42C4-B93B-1F8AF6C79E31@innoq.com>
Cc: David Orchard <dorchard@bea.com>, public-web-http-desc@w3.org
To: Mark Baker <distobj@acm.org>

On Jun 16, 2005, at 7:33 AM, Mark Baker wrote:

>> Another case is the ability to describe the xml documents returned  
>> and
>> which parts are hypermedia allows very interesting RESTful  
>> choreography.
>> For example, Atom specifies that a POST Entry to the "POSTEntry" URI
>> results in a document that has a URI for the "EDITEntry" interface
>> (which I think is GET,PUT, DELETE).  This association between two  
>> URIs
>> can only be done if somehow the URI in the POSTEntry response is  
>> tied to
>> the EDITEntry interface.  An ideal thing for a Web Description  
>> Language.
>>
>
> Strongly agreed.  That's a forms language use case, since that  
> possible
> state transition is discovered at runtime.  That's what REST's
> "hypermedia as the engine of application state" constraint is all  
> about.
>

Now I'm starting to understand your point. Would you say that  
describing the possible state transitions (the 'classes') statically  
(in the description language), while still discovering and following  
the actual transitions ('instances' ) at runtime, violates REST  
principles?

Stefan

> Mark.
>
Received on Thursday, 16 June 2005 06:26:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:11 GMT