Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73C2791E1 for ; Tue, 25 Sep 2012 11:54:50 +0000 (UTC) Received: (qmail 40877 invoked by uid 500); 25 Sep 2012 11:54:50 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 40788 invoked by uid 500); 25 Sep 2012 11:54:49 -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 40759 invoked by uid 99); 25 Sep 2012 11:54:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 11:54:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 11:54:41 +0000 Received: by eaa1 with SMTP id 1so474055eaa.11 for ; Tue, 25 Sep 2012 04:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=epCY/Iw6yqxZDK3SCc4dwqoAX1axXPC/J7oiw/FI2Hk=; b=cnIPs/Wx4cTsdNoBF/ec6Kcd4jreKoh9q1abdVCJbd7MOg0MvzGmJBr5c63wehAcdW ek6SGIvMMvxs4UZfNyhReKS+h9YR7pXMH5IU6igx3v0lbV+btWMuZGZe7Pui1gMSG56h e4+rUt6wfJqYE2ENvspkhBdv+Lk8IccLzbstaa21Lz5IsvA/wMbPrl8jrvBSMGRKJkBQ cO4XZrsvL4Jd4FJJugAHeHXzMsi2WhpzvOdXThCI94s4PG+RfdVe5idZSrlmY/Bfzv37 fqM1HOE8mfyufT1T+3ySvI1IpElEVPIe9IxS58xiVDZuIlK9NmTSIaug882Tzg9m/A0L vs3g== MIME-Version: 1.0 Received: by 10.14.179.136 with SMTP id h8mr19091742eem.6.1348574061350; Tue, 25 Sep 2012 04:54:21 -0700 (PDT) Received: by 10.14.175.196 with HTTP; Tue, 25 Sep 2012 04:54:21 -0700 (PDT) In-Reply-To: References: <5060B9C0.7010903@gmail.com> <29C9F273845947DD9955CD3730596E4A@cloudant.com> Date: Tue, 25 Sep 2012 13:54:21 +0200 Message-ID: Subject: Re: Part2: What's up dev? About couchapps. From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Sep 25, 2012 at 1:30 PM, Octavian Damiean wro= te: >> I guess we could define a schema. >> >> This dir for map functions, this dir for reduce functions, this dir for >> HTML, or whatever. >> > > You mean a directory structure like the Python-based CouchApp has? erica and couchapp (py the original) has the following schema / /_attachments/ /shows/*.js /lists/*.js /views/viewname/{map, reduce}.js /updates/ validate_doc_update.js /key -> a key property where the content f the ile bevome a value /some/key -> { "some": { "key": ... } } a .json is merged There are other special file like the manifest one that allows to keep the same structure on clone. I think views can also be /views/viewname.map.js and /views/viewname.reduce= .js - beno=EEt > > >> The goal is to bootstrap Futon, and to provide a simple tool to demo in = our >> docs. Maybe just providing an empty db is enough? I mean a .couch that we generate on the release.