Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 72909 invoked from network); 16 Sep 2010 13:20:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Sep 2010 13:20:39 -0000 Received: (qmail 42112 invoked by uid 500); 16 Sep 2010 13:20:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 41717 invoked by uid 500); 16 Sep 2010 13:20:34 -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 41709 invoked by uid 99); 16 Sep 2010 13:20:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 13:20:32 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcu-couchdb-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 13:20:27 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OwENh-0005Lz-AV for user@couchdb.apache.org; Thu, 16 Sep 2010 15:20:05 +0200 Received: from 80.149.225.186 ([80.149.225.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Sep 2010 15:20:05 +0200 Received: from fokko.breden by 80.149.225.186 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Sep 2010 15:20:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@couchdb.apache.org From: Foobee Subject: Re: CouchDB The Definitive Guide - Part III Date: Thu, 16 Sep 2010 13:17:48 +0000 (UTC) Lines: 41 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 80.149.225.186 (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; de-de) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5) Ido Ran writes: > > 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: > > 1. The code presented in the book does not match the code in sofa github > repository - jchris's sofa at master - GitHub > 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. > > Thank you, > Ido > Hi, we have the same problem with the post form (edit.html). The actual sofa app does not work with couchapp. In jquery.couchapp.js i find this: function docForm() { alert("docForm123 has been moved to vendor/couchapp/lib/docForm.js, use app.require to load") }; But sofa is not adapted. Has anyone an idea to fix sofa? Thanks, Foobee