On Jan 8, 2009, at 12:30 AM, Antony Blakey wrote:
On 08/01/2009, at 3:38 PM, Paul Davis wrote:
I was hoping for a way to drill into a hierarchy of a known
document and
grab what I want however deep it might be from a GET (next, I will
ask for
PUT and DELETE :) ).
Partial PUT and DELETE won't ever make it in directly (AFAIK). There
are a couple mailing list threads debating the entire issue of
partial
updates. If there's a development in the JSON community as a whole
for
a diff format, then the last talk was that there would probably be
pretty quick support for a PATCH verb.
hmmm... like COPY and MOVE?
The PMC's position is that partial updates (diff == patch) will only
be adopted once there is an RFC for json diffs. The process of
getting an RFC is long and tedious, for good reason.
Noah has setup a group for a json diff RFC here: http://groups.google.com/group/json-id
. So far the final position seems to be that he and I have agreed to
disagree about some philosophical points, and he's waiting for me to
draft a RFC - but anyone can drive that as they wish. I have much
more important issues with Couch that I want to push before that
(global references to immutable values, unrestricted db/view names),
and partial updates don't have any backwards-compatible issues, so
I'm not working on it.
Robert, maybe you could push the RFC?
Here you go :)
http://www.w3.org/TR/xquery-update-10/
Seriously though, I am thinking I need at least one more layer of
discrimination - a collection (similar to XPath & XML DBs). I think
CouchDB is really nice, but not for my current wants/needs.
best,
-Rob