Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6587164ED for ; Tue, 12 Jul 2011 12:59:26 +0000 (UTC) Received: (qmail 88339 invoked by uid 500); 12 Jul 2011 12:59:25 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 88204 invoked by uid 500); 12 Jul 2011 12:59:24 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 88187 invoked by uid 99); 12 Jul 2011 12:59:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 12:59:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 12:59:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A83E54B137 for ; Tue, 12 Jul 2011 12:59:00 +0000 (UTC) Date: Tue, 12 Jul 2011 12:59:00 +0000 (UTC) From: "Noah Slater (JIRA)" To: dev@couchdb.apache.org Message-ID: <2017776583.5779.1310475540685.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2070401237.4416.1310431321839.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1216) Rename _update to _save MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063864#comment-13063864 ] Noah Slater commented on COUCHDB-1216: -------------------------------------- Save makes sense in the context of MVC, and indeed, objects. CouchDB is a RESTful system that operates on resources and representations. Update makes more sense in that context. > 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