Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECE056E14 for ; Tue, 12 Jul 2011 21:06:38 +0000 (UTC) Received: (qmail 21499 invoked by uid 500); 12 Jul 2011 21:06:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 21467 invoked by uid 500); 12 Jul 2011 21:06:36 -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 21459 invoked by uid 99); 12 Jul 2011 21:06:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 21:06:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maxosmail@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 21:06:31 +0000 Received: by vws16 with SMTP id 16so5659732vws.11 for ; Tue, 12 Jul 2011 14:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=x2kzmwcKPakzolVJOqpxunZcOEo2+LTXO5u42nNPNUk=; b=Cfmo6JPdiHS/trDLCIXSb51O2o2eHePCorSb7hAlzq8Pq730vMQWe6gJ15n4vl849b gV0PIvakd3935plBoW6Ya8irdmPqepbxHtfGzwhwYahyy7u9guoAzYGuHCmMfUYOOPwK TZ+Z0MbFtHSb0azuYQaCAxW4gvyzRaorfKsRM= Received: by 10.52.67.243 with SMTP id q19mr466729vdt.319.1310504770138; Tue, 12 Jul 2011 14:06:10 -0700 (PDT) MIME-Version: 1.0 Sender: maxosmail@gmail.com Received: by 10.52.113.2 with HTTP; Tue, 12 Jul 2011 14:05:50 -0700 (PDT) In-Reply-To: References: From: Max Ogden Date: Tue, 12 Jul 2011 14:05:50 -0700 X-Google-Sender-Auth: 7XVhh7Ft0RwqvPl60p5ZGaotKVY Message-ID: Subject: Re: Resources for learning to use jquery.couch.js To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf307abf014cf37004a7e5ab7d --20cf307abf014cf37004a7e5ab7d Content-Type: text/plain; charset=UTF-8 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 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 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 > > 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 > > > > > > --20cf307abf014cf37004a7e5ab7d--