Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 98840 invoked from network); 3 Sep 2008 16:27:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 16:27:42 -0000 Received: (qmail 15424 invoked by uid 500); 3 Sep 2008 16:27:39 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 15402 invoked by uid 500); 3 Sep 2008 16:27:39 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 15391 invoked by uid 99); 3 Sep 2008 16:27:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 09:27:39 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 03 Sep 2008 16:26:38 +0000 Received: (qmail 42362 invoked from network); 3 Sep 2008 16:26:07 -0000 Received: from unknown (HELO ?192.168.1.149?) (unknown) by unknown with SMTP; 3 Sep 2008 16:26:07 -0000 X-pair-Authenticated: 96.33.90.152 Message-Id: From: Damien Katz To: couchdb-user@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: extra information in design documents Date: Wed, 3 Sep 2008 12:26:08 -0400 References: <8E4BBF90-56DF-4E58-8FFB-DAF5EF334028@oxdi.eu> <7c40ded80809030639m451e7c5ei16b9defe2f49d9c1@mail.gmail.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 3, 2008, at 12:14 PM, Chris Farmiloe wrote: >> I find the lack of validation in couchdb freeing myself. Just use a >> template >> copy of the document and fill in the blanks as needed. > > Yeah my validation example was quite simplified for the sake of the > question :) > >> But most often I find myself just using it as an object store for the >> objects I have in the code. All validation occurs before I send. >> And since >> document storage and updates are atomic in couchdb I can be >> confident that >> what I validated gets stored. > > I wasn't proposing that couch ran my validation functions ... but > they are in javascript.... now you mention it ;-) That very thing is already planned as part of security. -Damien