It sounds like you need to learn more about couchapps in general, not just jquery.couch.js. A great tutorial on one particular way to make couchapps is here: http://kansojs.org
On Tue, Jul 12, 2011 at 2:00 PM, Luis M. Gonzalez <[email protected]> wrote: > Thank you Max! > > I am aware of these resources, but I'd like something more detailed, with > examples. > For example, I like these articles: > > http://www.ibm.com/developerworks/opensource/tutorials/os-couchapp/index.html > http://blog.edparcell.com/using-jquery-and-couchdb-to-build-a-simple-we > > The problem is that, although it looks very simple, there are things that > don't work in my app. > I can save and remove documents (with $db.saveDoc and $db.removeDoc), for > example. > But I cannot get views with $db.view('database/myview')... I always get > error messages. > It's hard to figure out what I'm doing wrong... > > I wonder if this script only works with applications created with the > couchapp tool. Is that correct? > I am simply including the couch.js script in my index.html page, but I am > not using the skeleton generated by this tool. > Is this possibly the reason? > > Luis > > On Tue, Jul 12, 2011 at 5:45 PM, Max Ogden <[email protected]> wrote: > > > documentation > > http://daleharvey.github.com/jquery.couch.js-docs/symbols/index.html > > couch cheatsheet > > http://jpmens.net/2010/04/20/the-antepenultimate-couchdb-reference-card/ > > screencast http://vimeo.com/26147136 (not specifically about > > jquery.couch.js) > > and if you feel like digging through source code I use it quite a bit > here > > > > > https://github.com/maxogden/couchappspora/blob/master/_attachments/script/monocles.js > > > > On Tue, Jul 12, 2011 at 1:40 PM, Luis M. Gonzalez <[email protected]> > > wrote: > > > > > I would highly appreciate if someone points me to a good resource for > > > learning this api. > > > I'm struggling to find examples or guides but I only found sparse and > > > incomplete information. I remember having seen a cheatsheet somewhere > on > > > the > > > net but it's no longer available. > > > Any hint? > > > > > > Thanks! > > > Luis > > > > > >
