From dev-return-5107-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Jul 15 16:26:35 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 82185 invoked from network); 15 Jul 2009 16:26:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 16:26:34 -0000 Received: (qmail 30711 invoked by uid 500); 15 Jul 2009 16:26:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 30651 invoked by uid 500); 15 Jul 2009 16:26:43 -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 30641 invoked by uid 99); 15 Jul 2009 16:26:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 16:26:43 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 16:26:34 +0000 Received: from [192.168.1.19] (f053003070.adsl.alicedsl.de [::ffff:78.53.3.70]) (AUTH: LOGIN jan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Wed, 15 Jul 2009 16:26:11 +0000 Message-Id: <31EFBC99-5281-4872-BC0C-F081BE00BD79@apache.org> From: Jan Lehnardt To: dev@couchdb.apache.org In-Reply-To: <55047b710907150919t435ce716q438a502be0188aec@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: RIP Temp Views? Date: Wed, 15 Jul 2009 18:26:09 +0200 References: <467DF120-D9E6-4D43-99B0-E643605555C3@apache.org> <55047b710907150919t435ce716q438a502be0188aec@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi Nick. On 15 Jul 2009, at 18:19, Nicholas Orr wrote: > On Thu, Jul 16, 2009 at 1:57 AM, Jan Lehnardt wrote: > >> >> If you like temp views, I'd like to take your concerns into >> consideration. > > > I like temp view for figuring stuff out. > I'm not at the stage where I can have thought and presto perfect map/ > reduce > materialises on the screen in a few keystrokes.I usually only have > 10 max > documents in the db. > So have never run into the performance issues. > > After I've figured stuff out I create a proper view. > Then proceed to fill up the database > > Since I now use ruby for views its not going to be much use to me > having a > js temp view emulator... > I like ruby syntax, its nice: emit(key,val) unless doc.name.nil? > > Guess when you get rid of temp views "as is" it'll just take a bit > longer to > "try" stuff. Good point. The couch.js implementation should also be a blueprint for your favourite CouchDB client library. CouchRest is already modelled after couch.js. The end-user should still be able to play around easily. Cheers Jan --