Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 39398 invoked from network); 18 Oct 2010 16:01:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 16:01:01 -0000 Received: (qmail 32689 invoked by uid 500); 18 Oct 2010 16:01:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32527 invoked by uid 500); 18 Oct 2010 16:00:59 -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 32519 invoked by uid 99); 18 Oct 2010 16:00:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 16:00:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of industral@gmail.com designates 74.125.82.54 as permitted sender) Received: from [74.125.82.54] (HELO mail-ww0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 16:00:50 +0000 Received: by wwb39 with SMTP id 39so205366wwb.23 for ; Mon, 18 Oct 2010 09:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=1n7ACusL1u6ERNtWzlwodrXgLXRm5jbAIwZvHFHt28M=; b=ZpvWtcp+4I3uVmiXqepIk2DPr0YEcFsGUGjhfGg0WbOujxIeDiWWdbQ0psLW+XD0D7 BvmQ21EENwmeVOsZEKeTQnT7BqX9FVriT8wA1S3JKiCbELp5wrpIEG8aDa+B4Wn3dbcl P+Em9sfooZU3RkrcEUyoxdXlbQFFW0hUOHz2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=FfjdIlAR/zsctyRjzhezWl4mWrGRwfMu447TSaUAzspbmrgYB7gHq6IIz+65vAp6TP mj5avjSI6YS6TatBxLCAgbe+ykVo/EhlXFfdmabtWzAkBmqOOFgnN60c/v6wrJw30Kir 1gAAoHX2QEDITVdSASSMWokQYTBtsPgxYG2dA= Received: by 10.227.6.226 with SMTP id a34mr4863986wba.77.1287417628870; Mon, 18 Oct 2010 09:00:28 -0700 (PDT) Received: from [192.168.0.20] ([194.44.192.248]) by mx.google.com with ESMTPS id ga16sm1874875wbb.1.2010.10.18.09.00.27 (version=SSLv3 cipher=RC4-MD5); Mon, 18 Oct 2010 09:00:27 -0700 (PDT) Message-ID: <4CBC6F1A.6020305@gmail.com> Date: Mon, 18 Oct 2010 19:00:26 +0300 From: Alex Ivasyuv User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: CouchDB quoted functions Content-Type: multipart/alternative; boundary="------------020200020404090907020603" X-Virus-Checked: Checked by ClamAV on apache.org --------------020200020404090907020603 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I working with _update handlers in CouchDB, and writting functions for them. As per http://wiki.apache.org/couchdb/Document_Update_Handlers these functions should be quoted, as document should be presented as JSON. I faced an issue, that my functions became large and large, and it's very difficult to edit them right in browser (Futon). I found, that editing functions for view is more easyly, as there're provided some useful UI. But I didn't find the same for design docs. So the questions are: 1. Is there a simple way for editing _update handle functions right in browser with code formatting, like for views? 2. Are there some tools, to wring a view code in separate file, and later transform it to JSON? Thanks in advance, --------------020200020404090907020603--