[ 
https://issues.apache.org/jira/browse/COUCHDB-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063822#comment-13063822
 ] 

Johnny Weng Luu commented on COUCHDB-1216:
------------------------------------------

Backbone uses this approach.

http://documentcloud.github.com/backbone/#Model-save

Also YUI's new MVC structure.

But it isn't really a standard to be correctly. Just something I have seen on 
multiple places.

> Rename _update to _save
> -----------------------
>
>                 Key: COUCHDB-1216
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1216
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Johnny Weng Luu
>            Priority: Trivial
>
> Since an update function can be used to either create or update a document, I 
> think it's more appropriate to rename it to _save.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to