[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] RESTful operations on document fragments
- From: "Simon St.Laurent" <simonstl@simonstl.com>
- Date: Mon, 25 Feb 2008 09:01:41 -0500
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/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]