Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 66815 invoked from network); 9 Apr 2011 13:11:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2011 13:11:30 -0000 Received: (qmail 55325 invoked by uid 500); 9 Apr 2011 13:11:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 55285 invoked by uid 500); 9 Apr 2011 13:11:28 -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 55277 invoked by uid 99); 9 Apr 2011 13:11:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 13:11:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 13:11:21 +0000 Received: by bwj24 with SMTP id 24so6584474bwj.11 for ; Sat, 09 Apr 2011 06:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=h/D8Q63T5v2QU8hMi+/tg3le/z9kI5mERT0PyT33k6o=; b=L8x1H1SieCIPgcyQ4qL5HuRTJNK1lZwTdpEMVJw1Bs7A0nKGzEBykr4l83wIAPTbyy 6XfsXrQGZ9kdbYESG98IUURxLj8ryQnHS+5nd+ZlbWnO7C92r1udBlY9GMOLBmZXLgXK A7kkYiREARoe6ovfQwLcdW/CYBEKZkqv5vifU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Jto/xHakJhApi3vZm7F4UGB8rCPMBDrclY3OzrAGXHybLjVrndk1HSy7eVmhNXRi9s +YDcMVOLLiAMqqZoqcFsZd0nxrZnfO6CEQ07aNPdK1GPBH4jltKZl1RC2kyCt35Opv32 Dp1ZUqqbjJ3nYaKa2AMitrp/kX/W2fC1HX0fU= MIME-Version: 1.0 Received: by 10.204.227.193 with SMTP id jb1mr3016056bkb.157.1302354661297; Sat, 09 Apr 2011 06:11:01 -0700 (PDT) Received: by 10.204.130.81 with HTTP; Sat, 9 Apr 2011 06:11:01 -0700 (PDT) In-Reply-To: <1E468944-830B-4B90-827C-410C631E9F66@rgabostyle.com> References: <1E468944-830B-4B90-827C-410C631E9F66@rgabostyle.com> Date: Sat, 9 Apr 2011 15:11:01 +0200 Message-ID: Subject: Re: The new couchapp. [cr] From: Benoit Chesneau To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Apr 7, 2011 at 1:12 PM, Gabor Ratky wrote: > Don't mean to be negative wrt the original python couchapp and the new on= e in development, but we've moved over to soca (sammy on couchapp) that com= es with a nice ruby (thor-based) CLI. It also lets go of the quirky, albeit= logical directory structure that couchapp enforces on you. It loses 'clone= ' functionality in the process but we end up with a much more straightforwa= rd project where its much easier to use coffeescript, compass as post-build= pre-push hooks and extending it is also very simple. It also comes with Sa= mmy.js instead of evently which I find much better suited for couchapps (be= ing a Sinatra fan, to be fair). soca may be a good tool for those who want to use sammy . One sure thing is that pre/push hooks exists since 0.4 in couchapp. It's a matter of 10-20 lines to add support for compass in couchapp and use it. Compression exists too via pre-push compress hook and one could write its own hook to manage it differently. About the format used by couchapp on the disk, it's important to note that it can be overridden by adding your own layer on top. The eclipse extension does it so as coffeeapp a coffee-script wrapper of couchapp. The goal of couchapp is to be a simple tool that could be extended easily to your own need. I'm not for example using evently nor sammy nor compass but my own ugly js code with couchapp and it works. If people want to use it to send a couchapp written in python or erlang they could also too. You can your own command too, autopush is one extended command for example and i've some people having a config command too allowing them to manage couchdb config, dump the db ... > > Being a Ruby shop, it was the logical move for us but in general I find i= t a lot easier to comprehend and to work with. Having an Erlang configurati= on file suddenly pop up in my couchapp would not help the situation. I was thinking that the format could be easier to write, but anyway the json format will be kept in next version since this is the wish of most :) - beno=EEt