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

From
Simon St.Laurent <>
Date
2008-02-25T14:01:41Z
ID
<>
Thread
Re: [xml-dev] RESTful operations on document fragments
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.

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/