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 AF81AD78B for ; Tue, 6 Nov 2012 04:02:24 +0000 (UTC) Received: (qmail 61872 invoked by uid 500); 6 Nov 2012 04:02:23 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 61812 invoked by uid 500); 6 Nov 2012 04:02:23 -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 61803 invoked by uid 99); 6 Nov 2012 04:02:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 04:02:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rkevinburton@charter.net designates 216.33.127.81 as permitted sender) Received: from [216.33.127.81] (HELO mta21.charter.net) (216.33.127.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 04:02:16 +0000 Received: from imp09 ([10.20.200.9]) by mta21.charter.net (InterMail vM.8.01.05.02 201-2260-151-103-20110920) with ESMTP id <20121106040155.RZBS12025.mta21.charter.net@imp09> for ; Mon, 5 Nov 2012 23:01:55 -0500 Received: from KevinPC ([24.159.241.210]) by imp09 with smtp.charter.net id L41v1k0034Z4VX40541vRf; Mon, 05 Nov 2012 23:01:55 -0500 X-Authority-Analysis: v=1.1 cv=nlrKf9u5uG3fs/vD0VBbL3/xzyN25p4t1WHsSeqasGo= c=1 sm=1 a=yUnIBFQkZM0A:10 a=kj9zAlcOel0A:10 a=rvDZ1Ou6zk5jcJFOa7NSqA==:17 a=Civ3JY_BAAAA:8 a=mV9VRH-2AAAA:8 a=hOpmn2quAAAA:8 a=DTf0VV7mAAAA:8 a=GOZ53ks2QHyP4FdWGfYA:9 a=CjuIK1q_8ugA:10 a=JUH7CEFcBm0A:10 a=hUswqBWy9Q8A:10 a=rvDZ1Ou6zk5jcJFOa7NSqA==:117 From: "Kevin Burton" To: References: <99EA19FD-5ED6-4EDA-B538-2D78DCE47DFF@charter.net> <9D607BF7-197D-47C0-BCF8-3D225405C6CE@couchbase.com> <95FDB8AF-32C2-4056-9D3B-9FC05186F16C@charter.net> <3F2385CF-51CD-4A6F-BB41-DE730655BBCF@charter.net> <28887DC7-1DBE-42F9-82B3-18F28B393CCF@couchbase.com> <29475FF4-70F3-4189-A5C8-25F0E9340BC1@couchbase.com> In-Reply-To: <29475FF4-70F3-4189-A5C8-25F0E9340BC1@couchbase.com> Subject: RE: Exist test? Date: Mon, 5 Nov 2012 22:01:54 -0600 Message-ID: <015a01cdbbd3$75ace0d0$6106a270$@charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQC7cWJ/CNPBoxXyNmr4fOB58g1TAgK3LFXRArubP8UB4fYvMwIj+qk/AcVOTgkCA3t2hwKoHZWHAl0KFy4BrkhSeZlhFAzA Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org I understand the concepts of CouchDB that I want but I don't know how to implement them. Like views. I understand that you can have a view that is part of the CouchDB database but how do I create a design document that contains the view without creating it many times. Or the initial id. From the documentation I understand that if an id is not supplied then CouchDB automatically generates the ID. For some drivers like Hammock the ID is completely hidden from the user and managed "behind the scenes". In Hammock also the design document is automatically updated from the queries. Other drivers require an explicit ID. My point is that there is a difference between the raw REST interface and the drivers used to develop applications. My purpose in posing this question is to see how others have developed applications. I know that everyone is not only using REST. And if they were I would still be interested in how they generated and maintained their database(s). I initially started with DreamSeat so naturally I was more interested in those users that have experience with this driver. Especially as there is little or no documentation and not discussion group dedicated to this driver or any of the individual drivers. Since this was a CouchDB group it was more likely that this group would have experience with using this driver. If there is another group or documentation that I don't know about that would be more appropriate please direct me there. -----Original Message----- From: Jens Alfke [mailto:jens@couchbase.com] Sent: Monday, November 05, 2012 6:52 PM To: user@couchdb.apache.org Subject: Re: Exist test? On Nov 5, 2012, at 3:02 PM, Kevin Burton wrote: > This sounds like a good idea but I am not sure how to implement it. Ideas? I hate to say "RTFM", but . RTFM. It sounds like your next step should be to read more about either CouchDB or the framework you're using, or both. It's not a good use of people's time to re-explain the fundamentals when there are already multiple sources of documentation. For CouchDB, http://guide.couchdb.org is a decent place to start. If it's the DreamSeat framework you need help with, it doesn't seem that this is the right place to ask for it. I have never heard anyone mention it here before. Hopefully it has its own mailing list or help forum. -Jens