Re: [xml-dev] RESTful operations on document fragments

From
Robert Koberg <>
To
"Simon St.Laurent" <>
Date
2008-02-25T14:06:44Z
ID
<1203948404.10053.41.camel@rkoberg-laptop>
Thread
Re: [xml-dev] RESTful operations on document fragments
On Mon, 2008-02-25 at 09:01 -0500, Simon St.Laurent wrote:
> Robert Koberg wrote:
> > On Mon, 2008-02-25 at 08:38 -0500, Simon St.Laurent wrote:
> >> Andrew Welch wrote:
> >>>> I can always create abstraction layer upon abstraction layer.  They make
> >>>>  pretty piles, until they fall over.
> >>> How about creating a servlet called something like update, then map
> >>> all urls to it:
> >> That's not RESTful - that's putting an update verb in a URI noun.
> > 
> > updater?
> 
> No.  The reason REST works is that you have a limited set of verbs (GET, 
> PUT, POST, DELETE) operating on a huge set of nouns - the URIs.

just quibbling, but 'updater' is a noun. It can be used with any of the
verbs.

> 
> The problem here isn't finding update capabilities - POST already 
> provides that.  The problem is addressing resources at a granularity 
> level that's more convenient for doing updates than a complete document.
> 
> Thanks,
> Simon St.Laurent
> Retired XML troublemaker
> http://simonstl.com/