Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 91149 invoked from network); 6 Sep 2010 19:22:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Sep 2010 19:22:23 -0000 Received: (qmail 89010 invoked by uid 500); 6 Sep 2010 19:22:21 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 88954 invoked by uid 500); 6 Sep 2010 19:22:21 -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 88946 invoked by uid 99); 6 Sep 2010 19:22:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 19:22:21 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.52] (HELO mail-pw0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 19:22:14 +0000 Received: by pwj10 with SMTP id 10so3837942pwj.11 for ; Mon, 06 Sep 2010 12:21:53 -0700 (PDT) Received: by 10.114.37.2 with SMTP id k2mr3412017wak.41.1283800913536; Mon, 06 Sep 2010 12:21:53 -0700 (PDT) Received: from [10.0.1.248] (h-74-1-186-35.snfccasy.static.covad.net [74.1.186.35]) by mx.google.com with ESMTPS id o17sm11830191wal.21.2010.09.06.12.21.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 12:21:52 -0700 (PDT) Sender: J Chris Anderson Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: CouchDB The Definitive Guide - Part III From: J Chris Anderson In-Reply-To: Date: Mon, 6 Sep 2010 12:21:41 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <705D892C-AD65-4128-B665-9C12D431854B@apache.org> References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 6, 2010, at 12:15 PM, Ido Ran wrote: > Thank you very much. > I'll try to use Pages and see how it goes. >=20 > Does the draft version of the book is the "most recent" or is it the = other > way around? >=20 The draft is newer (and you are welcome to change it using Github) let us know how Pages goes! Chris > Thank you, > Ido >=20 > On Mon, Sep 6, 2010 at 6:14 PM, J Chris Anderson = wrote: >=20 >>=20 >> On Sep 5, 2010, at 11:37 PM, Ido Ran wrote: >>=20 >>> Hi, >>> I'm learning CouchDB using the CouchDB Definitive Guide (draft = edition). >>> I've got to part III where I start playing with Sofa application to = get >> my >>> hand on real CouchApp, but there are some prolems: >>>=20 >>>=20 >>> 1. The code presented in the book does not match the code in sofa >> github >>> repository - jchris's sofa at master - GitHub< >> http://github.com/jchris/sofa> >>> 2. The application in the github repository does not work right. I = can >>> push it to CouchDB (I'm using couchone.com or couch.io server) but = the >>> post form does not work, currently because app.docForm is = deprecated >> but I >>> don't understand how to fix it. >>> 3. When I push the app to CouchDB server I get a database with = single >>> document with _id of sofa. I thought it should be a collection of >> documents, >>> not single document. >>=20 >> Thanks - these are serious issues... I've got a running copy of Sofa = at >> http://jchrisa.net so I know it can work. I've got to set aside a few = days >> to test the book's instructions etc, make sure they still map to = reality. >>=20 >> In the meantime you can try running the Pages application (a wiki = which >> uses many of the same techniques as Sofa, but with a fresher = implementation) >>=20 >> http://github.com/couchone/pages >>=20 >> The README to Pages is up to date and accurate. >>=20 >> Best, >> Chris >>=20 >>=20 >>>=20 >>> Thank you, >>> Ido >>=20 >>=20