Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 92826 invoked from network); 2 Aug 2009 09:11:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Aug 2009 09:11:08 -0000 Received: (qmail 96955 invoked by uid 500); 2 Aug 2009 09:11:11 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 96870 invoked by uid 500); 2 Aug 2009 09:11:10 -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 96860 invoked by uid 99); 2 Aug 2009 09:11:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 09:11:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 74.125.92.24 as permitted sender) Received: from [74.125.92.24] (HELO qw-out-2122.google.com) (74.125.92.24) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 09:11:00 +0000 Received: by qw-out-2122.google.com with SMTP id 3so1495503qwe.29 for ; Sun, 02 Aug 2009 02:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:references; bh=J98YswJHNfKB0+U7O5C30ru3OwIocTbS13PbfgfFa8g=; b=eiJgjCPrxY9X8RYHqr2FFLQqLuL1NMYV6pc+cMN1sW1cxo2hfZmllO13zCGUYUf6OE QoiOgq0uLxX/IOf79DwW2wK/g2eH/GkubwvsO2onQv2fs00xaqIgzj+/7zDDlGEcrZgG 3AZnE0HQ5tnDLGY2lzHOi4HFYuSaS5uSywqrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date :references; b=SVI87EiY+p+6qhip2052JBfVmDQuv+FEdQ6/imwYD6NBWmV3ex5K4B4vZUUDxFTm/C 3VQSEDDDRoOvWtMeaPX1PZGUzvc0FDNGZ7q+SnosvCezkokNNktvXDJUcIW3ViH7LXef wPU2QA3RoiQ2XiKI3vFJIwJO6YkGFhYmpb/eo= Received: by 10.224.60.138 with SMTP id p10mr3692312qah.125.1249204239766; Sun, 02 Aug 2009 02:10:39 -0700 (PDT) Received: from ?192.168.10.19? (c-75-69-237-27.hsd1.ma.comcast.net [75.69.237.27]) by mx.google.com with ESMTPS id 5sm10087872qwg.5.2009.08.02.02.10.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 02 Aug 2009 02:10:38 -0700 (PDT) Message-Id: From: Paul Joseph Davis To: "user@couchdb.apache.org" In-Reply-To: <4A75540A.6050306@borwankar.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7A341) Mime-Version: 1.0 (iPhone Mail 7A341) Subject: Re: couch returning text/plain for responses - is this correct ? Date: Sun, 2 Aug 2009 05:10:13 -0400 References: <4A7543F2.7030804@borwankar.com> <4A754931.70207@borwankar.com> <4A754B2A.60508@borwankar.com> <603F7B11-5D1C-4132-ABA0-30368AF5654F@gmail.com> <4A75540A.6050306@borwankar.com> X-Virus-Checked: Checked by ClamAV on apache.org On Aug 2, 2009, at 4:53 AM, Nitin Borwankar wrote: > Paul Joseph Davis wrote: >> >> >> [...] >>> >>> >> >> Well, for jquery with couchdb I'd just point people at >> jquery.couch.js for most answers. Though that could be me being >> lazy. Feel free to add where you think is appropriate. The wiki is >> a wiki after all. :) >> > > For people like me coming from a very rudimentary UI experience > level - a slower descent into the hel.. er I mean depths of jquery > is preferred :-). > I love jQuery but the more advanced syntax is a steep curve for a > few days. > I tried the jquery.couch.js approach first - but just the number of > concepts to be assimilated before I could get one thing done were > too much. > The functional syntax takes some getting used to and just trying to > figure what scope I am in at each line of the code is mind twisting. > > Most jQuery tutorials are focused on DOM manipulation whereas my > first interest is/was making calls to couch and getting json back - > this usually comes towards th end of a jQuery book and I'd like to > create a page or two of simple jQuery ajax in the context of couch. > > Starting from a bare $.ajax call level is useful - the syntactic > sugar of jQuery is actually very useful - I just found it way too > much all at once to also assimilate the plug in concepts as well. > > Additionally getting the paths straightened out when adding your own > libs or using the internal ones is another thing. > > Perhaps a tutorial db that comes with couch and has a bunch of > sample docs, simplest to more complicated, with libs, attachments, > sample data would be useful. > > I remember when I was at Sybase ( it is still true ) they had a > "pubs" sample database that was installed with the server and was > useful in learning an in testing. Sybase training classes were > based on the "pubs" database as well. I know the test data base is > supposed to be similar but a testing environment is not always > conducive to learning for many people. I'd like to float the idea > of a database with sample data, code and docs that can be replicated > from couch.io, or just comes with couch ( to save couch.io the > bandwidth charges ). > > In the meanwhile I can start something on the wiki - in my copious > spare time. > I'm fairly I intrigued by the idea of a standard test database. At the moment all tests build up their required test data. There could be a couple issues in terms of mechanics but having a couple example databses that could be cloned or some such might end up making tests quite a bit more straight forward. Anyone else have thoughts? > > Paul, thanks again for putting up with the noise while I stumbled > around the basement banging my head everywhere. > > > Nitin > > >> Paul >> >>>>> Nitin >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> >