Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 52174 invoked from network); 18 Oct 2010 19:07:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 19:07:00 -0000 Received: (qmail 23372 invoked by uid 500); 18 Oct 2010 19:06:59 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 23267 invoked by uid 500); 18 Oct 2010 19:06:59 -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 23259 invoked by uid 99); 18 Oct 2010 19:06:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 19:06:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 19:06:53 +0000 Received: by iwn41 with SMTP id 41so260909iwn.11 for ; Mon, 18 Oct 2010 12:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=ZkOsFUQ3hMnkbTSas5cO5lDEn+zt0mQ7If5LPwyVK00=; b=RczG+IY14bws4zcHL1qvaigXM53jaMYFLvX6XEv559ZX8nC7OGPlaeXvAZNqdeb5Wz gfrrdxJz8LxeAsoevk7GxVAYC167QZvENrKymPl4MRtZ2bONFiuxNiNPUnHROkpyz1ke mR2z2VFXXqsmYCsOJeLJwr6TfxCNmmobzBUbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=PNoX02wDvcpPQ3p8wOq+mPJOcGxc7Ollg2snopPwUpIWKeFI5Eq/EAxRDi0i5aIuLh VM9zO7QPVCS94RDfHSO3cH3d1mtOPTWBnmwPYwozPbt6yiXNW/Db3p5/yrUfGNhCbHMy fEelUJ3tKZNIB4V9WARR9MppthdDgNnwimjvU= Received: by 10.231.14.74 with SMTP id f10mr1731475iba.185.1287428790974; Mon, 18 Oct 2010 12:06:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.36.130 with HTTP; Mon, 18 Oct 2010 12:05:50 -0700 (PDT) In-Reply-To: <4BDB6C76-77B3-4659-A2F5-3A9355D002DF@apache.org> References: <4BDB6C76-77B3-4659-A2F5-3A9355D002DF@apache.org> From: Paul Davis Date: Mon, 18 Oct 2010 15:05:50 -0400 Message-ID: Subject: Re: View builder in Futon To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Mon, Oct 18, 2010 at 3:02 PM, Jan Lehnardt wrote: > > On 18 Oct 2010, at 20:22, Paul Davis wrote: > >> On Mon, Oct 18, 2010 at 2:11 PM, Mikeal Rogers wrote: >>> I'm working on the new Futon code and I've started working through the view >>> builder. >>> >>> One goal I have is to morph this interface from primarily being used for >>> creating map/reduce functions to an interface for creating queries against >>> your views since we tend to get more questions about creating queries than >>> creating just map/reduce functions. >>> >>> One question I have is that, for the map/reduce builder UI, we could easily >>> change this workflow to create new ddoc's and views rather than using >>> tmpviews. In fact it could make the code a lot cleaner and will be much >>> faster for testing out queries against a new map/reduce you're working on. >>> >>> Thoughts? >>> >>> -Mikeal >>> >> >> There've been a couple discussions on removing or altering the temp >> view mechanics. Since we added the view cleanum/md5 file naming scheme >> I've been meaning to factor out all of the temp view code and replace >> it with an HTTP handler that saves a design doc with a UUID and then >> uses that for the query. Just haven't gotten to it yet. >> >> I know there's still a noticeable crowd that doesn't want to >> completely remove the temp view facility, but there is room to make >> something similar to what you're describing even a bit more >> transparent than changing the _temp_view. > > What he said. > Oh snap! > Cheers > Jan > -- > >