W3C home > Mailing lists > Public > www-tag@w3.org > November 2002

REST Interaction principles

From: Mark Baker <distobj@acm.org>
Date: Mon, 18 Nov 2002 08:24:25 -0500
To: Tim Bray <tbray@textuality.com>
Cc: WWW-Tag <www-tag@w3.org>
Message-ID: <20021118082425.K21537@www.markbaker.ca>

Excellent, I was hoping we'd get to filling out section 4 soon.

On Sun, Nov 17, 2002 at 06:54:11PM -0800, Tim Bray wrote:
> Examples concerning Interaction
> 
> CP9. Designers of protocols should invest time in understanding the REST 
> paradigm and consider the role to which its principles should guide 
> their design:
> - statelessness
> - clear assignment of roles to parties
> - flat addrss space
> - limited uniform set of verbs

Eeek!  I was hoping that the architecture document would have a bit
more teeth than this!

If a principle is something that is followed to imbue the system with
some desired property (is it?), then I'd say something like;

"Interactions on the Web should be constrained to have semantics which
are applicable to all components ("uniform interface"), and also to
contain all the information necessary in which to understand the
meaning of the interaction ("stateless")."

> CP11. Designers of protocols should give serious consideration to 
> avoiding such design activities in favor of existing well-established 
> protocols such as HTTP that fit well into REST.

I agree, but that's a pretty soft principle, so I'd be happy to leave it
out.

MB
-- 
Mark Baker.  Ottawa, Ontario, CANADA.   http://www.markbaker.ca

   Will distribute objects for food
Received on Monday, 18 November 2002 08:21:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:12 GMT