[Catalyst] Re: CatalystSites.org

Aristotle Pagaltzis pagaltzis at gmx.de
Thu Apr 17 12:06:31 BST 2008


* Toby Corkindale <tjc at wintrmute.net> [2008-04-17 03:40]:
> On Wed, Apr 16, 2008 at 11:20:40AM +0200, Aristotle Pagaltzis wrote:
> > 2. URI design is important, but not because it has anything
> >    to do with REST.
> >    
> >    Your URIs could be /aslkdjsad42 and /xyzzysd-291kk1 for
> >    all REST cares. REST is about decoupling server and client
> >    from each other by keeping client state on the client and
> >    resource state on the server and passing representations
> >    of resources back and forth to affect the state on each
> >    end.
> > 
> >    In all this, URIs serve purely as identifiers that the
> >    client is expected not to try to interpret in any way at
> >    all. Only the server which has minted a URI is allowed to
> >    ascribe any meaning to it.
> 
> Really? I thought good URI design was part of "best practices"
> for REST. *Tries to find the REST book that was on his desk
> last week*
> 
> Not that REST is a standard, beyond the requirement to adhere
> to existing standards :)

Be aware that REST is a style for architectures and the book only
describes one particular RESTful architecture (which the authors
call ROA = Resource-Oriented Architecture). See also

    On software architecture
    http://roy.gbiv.com/untangled/2008/on-software-architecture

Good URI design is indeed a best practice for building web apps;
RESTfulness is likewise. But neither practice implies or requires
the other.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list