[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RESTful operations on document fragments

  • From: "bryan rasmussen" <rasmussen.bryan@g...>
  • To: "Simon St.Laurent" <simonstl@s...>
  • Date: Mon, 25 Feb 2008 15:17:17 +0100

Re:  RESTful operations on document fragments
actually I think the way you have to update a document fragment is
GET Document
append new fragment under document element
PUT Document.

So what happens when someone GETs, appends, PUTS a fragment that you
don't want there. It's basically not easy to disallow updating of
particular fragments because REST is based on handling the resources,
not fragments of resources. It's like I said, if  a fragment should be
updateable then it argues that the fragment is in fact an independent
resource.

Cheers,
Bryan Rasmussen

On Mon, Feb 25, 2008 at 3:01 PM, Simon St.Laurent <simonstl@s...> 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.
>
>  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/
>
>  _______________________________________________________________________
>
>
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>  to support XML implementation and development. To minimize
>  spam in the archives, you must subscribe before posting.
>
>  [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>  Or unsubscribe: xml-dev-unsubscribe@l...
>  subscribe: xml-dev-subscribe@l...
>  List archive: http://lists.xml.org/archives/xml-dev/
>  List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.