couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: POST/PUT on _show vs POST/PUT on _update + GET on _show
Date Sun, 13 Sep 2009 08:17:11 GMT
On Sun, Sep 13, 2009 at 10:12 AM, Vlad GURDIGA <gurdiga@gmail.com> wrote:
> It seams intuitive that _show actually shows you something and does
> not handle update actions.
>
I agre that it in this case show isn't a good word. maybe "_page"  and
then "_pages" for _list but that another debate.

> On the other hand why would we need an _update thing? Doesn't CouchDB
> handle that itself?
> (Excuse me if the question is stupid, I was not on #couchdb at the
> time when this discussion took place.)
>


_upate allow you to handle any input before saving them in couch like
xml, csv whatever or it could be also use to post some doc without
requiring ajax to do it.

- benoit

Mime
View raw message