couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ido Ran <ido....@gmail.com>
Subject Re: CouchDB The Definitive Guide - Part III
Date Thu, 16 Sep 2010 16:16:01 GMT
Hi,
I suggest looking at Focus <http://github.com/couchone/Focus> couchapp and
taskr <http://github.com/jchris/taskr> couchapp.
They both small enough application from which I learn more about how to
write CouchApps.

Ido

On Thu, Sep 16, 2010 at 3:17 PM, Foobee <fokko.breden@sofd.de> wrote:

> Ido Ran <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<
> 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.
> >
> > 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
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message