Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 6853 invoked from network); 16 Aug 2010 19:36:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Aug 2010 19:36:33 -0000 Received: (qmail 33104 invoked by uid 500); 16 Aug 2010 19:36:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33051 invoked by uid 500); 16 Aug 2010 19:36:31 -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 33043 invoked by uid 99); 16 Aug 2010 19:36:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 19:36:31 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=RCVD_ILLEGAL_IP,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kchuang@ucalgary.ca designates 136.159.37.49 as permitted sender) Received: from [136.159.37.49] (HELO smtp4.ucalgary.ca) (136.159.37.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 19:36:26 +0000 Received: from exhub.admin.ad.ucalgary.ca (unknown [10.40.24.17]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp4.ucalgary.ca (Postfix) with ESMTP id 4079E5803D for ; Mon, 16 Aug 2010 13:35:59 -0600 (MDT) Received: from EXHUB02.admin.ad.ucalgary.ca (10.40.88.18) by EXEDGE01.ad.ucalgary.ca (10.40.24.17) with Microsoft SMTP Server (TLS) id 8.2.254.0; Mon, 16 Aug 2010 13:35:59 -0600 Received: from exmb01.admin.ad.ucalgary.ca ([169.254.1.156]) by EXHUB02.admin.ad.ucalgary.ca ([::1]) with mapi; Mon, 16 Aug 2010 13:35:58 -0600 From: King Huang To: "user@couchdb.apache.org" Date: Mon, 16 Aug 2010 13:35:57 -0600 Subject: Re: Writing List/Show/Filter/etc. Functions Thread-Topic: Writing List/Show/Filter/etc. Functions Thread-Index: Acs9ekAkYFOm63RWTdOvyshGdwN6Sg== Message-ID: <98E2C205-164A-44B0-BDE4-782300042E10@ucalgary.ca> References: <0E6B4FB3-045F-4664-AB75-3E2A0F7ED0F5@ucalgary.ca> In-Reply-To: Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-CA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-UCalgary-MailScanner-Information: Please contact IT Help Desk at (403) 220-5555 for more information X-MailScanner-ID: 4079E5803D.0F8CB X-UCalgary-MailScanner: Found to be clean X-UCalgary-MailScanner-From: kchuang@ucalgary.ca Awesome. Thanks to everyone that pointed me to couchapp. King Chung Huang Technology Solutions Analyst Information Technologies University of Calgary On 2010-08-16, at 1:01 PM, Dave Cottlehuber wrote: > On 17 August 2010 05:22, King Huang wrote: >> Hi, >>=20 >> How are people writing functions in _design documents? Futon's useful fo= r map/reduce functions, but what about everything else? Right now, I write = code in BBEdit (on Mac OS X), then have to do a search/replace to convert l= ine breaks, tabs, etc. into \n, \t, paste it into a _design doc in Futon, a= nd test. It's really tedious. >>=20 >> What kind of workflows do people have for efficiently writing and testin= g functions? >>=20 >> Thanks, >>=20 >> King Chung Huang >> Technology Solutions Analyst >> Information Technologies >> University of Calgary >>=20 >=20 > Hi King Huang >=20 > couchapp is a python tool that amongst other things allows using all > of your maps/list/shows/docs as separate files, and then packages them > up into a single design doc. >=20 > http://couchapp.org/page/what-is-couchapp > http://couchapp.org/page/installing > http://couchapp.org/page/getting-started >=20 > There are a bunch of other pages on the wiki incl a few tutorials. >=20 > cheers > Dave