Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 75030 invoked from network); 10 Jun 2010 14:58:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 14:58:25 -0000 Received: (qmail 1020 invoked by uid 500); 10 Jun 2010 14:58:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 825 invoked by uid 500); 10 Jun 2010 14:58:23 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 817 invoked by uid 99); 10 Jun 2010 14:58:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 14:58:23 +0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phat.loc@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 14:58:16 +0000 Received: by vws5 with SMTP id 5so37822vws.11 for ; Thu, 10 Jun 2010 07:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=DqDUA6qPm9jfZDev1bJ9RsqX+Q00wq3CtbSe5+Qd+5A=; b=xviKAh4SYfxQevgohIBfhbEWWpaJPsmMJ4PhPDHIm2UfmEXtI07+CrTHsHcWJsii7N 5sQSwBXYerr9cwyrn5BaAi19bIi+fA7ICiL0AmRgxkTIomyHEvcE2LyBsOEgiUoZOFrj f3NYbLaZNsKPvoOLaYZtezkHC6FBCdJdIgp84= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=YRfuAbTWSm/+LmwZk4xrNZC/a083kkcjzp9TSDWehYyvnB7+d/HkBVqlpJLbYZ6Rw7 L7Hle9ljry6e0SAtzWZKwWl2ZilezSUwugDqkqhSdnAVxCKuBllF1+ZcFjXctUMuP+F7 9rDEnw2UEr2sywrFCMssLZq1oOKCbJ7y1capY= Received: by 10.224.80.106 with SMTP id s42mr309942qak.8.1276181870371; Thu, 10 Jun 2010 07:57:50 -0700 (PDT) Received: from [10.64.56.94] (mobile-166-137-138-058.mycingular.net [166.137.138.58]) by mx.google.com with ESMTPS id d6sm112917vcp.44.2010.06.10.07.57.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Jun 2010 07:57:47 -0700 (PDT) References: <4C101C46.5030300@83864.com>, Message-Id: <26C79874-0A1D-433C-81D8-10D89FFD02A4@gmail.com> From: Phat Loc To: "user@couchdb.apache.org" In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7E18) Mime-Version: 1.0 (iPhone Mail 7E18) Subject: Re: Development tools to use Date: Thu, 10 Jun 2010 10:57:52 -0400 Cc: "user@couchdb.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org I found a cool technique. Get firefox with firebug plugin. Start firebug console. Fetch a couchdb document in the address bar. Now in the console enter Eval("var cdbDoc =" + document.body.firstChild.childNodes[0].data +";"); That will load the doc into a JavaScript var called cdbDoc. The you can write all your map, reduce, list, show functions in firefox. This was what I was looking for. Thanks for the help. Sent from my iPhone On Jun 10, 2010, at 5:11 AM, Nils Breunese wrote: > Couchapp does the same thing, but is a plain python CLI app ('sudo > easy_install -U couchapp' should get you started). Useful in any > situation IMHO. > > Nils. > ________________________________________ > Van: Julian Doherty [julian.doherty.ml@gmail.com] > Verzonden: donderdag 10 juni 2010 2:40 > Aan: user@couchdb.apache.org > Onderwerp: Re: Development tools to use > > We're using couch-rest-rails which lets you define a directory > structure for > the view functions, and edit them as plain .js files in your favourite > editor, and run a rake task to push them to couch. > > Useful if you're developing a rails app with couchdb as the backend, > but not > that helpful otherwise. > > De informatie vervat in deze e-mail en meegezonden bijlagen is > uitsluitend bedoeld voor gebruik door de geadresseerde en kan > vertrouwelijke informatie bevatten. Openbaarmaking, > vermenigvuldiging, verspreiding en/of verstrekking van deze > informatie aan derden is voorbehouden aan geadresseerde. De VPRO > staat niet in voor de juiste en volledige overbrenging van de inhoud > van een verzonden e-mail, noch voor tijdige ontvangst daarvan.