Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 3523 invoked from network); 18 Nov 2010 20:50:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 20:50:05 -0000 Received: (qmail 71624 invoked by uid 500); 18 Nov 2010 20:50:35 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 71592 invoked by uid 500); 18 Nov 2010 20:50:35 -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 71582 invoked by uid 99); 18 Nov 2010 20:50:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 20:50:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcu-couchdb-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 20:50:29 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PJBQi-0002C8-KZ for user@couchdb.apache.org; Thu, 18 Nov 2010 21:50:04 +0100 Received: from e179038178.adsl.alicedsl.de ([85.179.38.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Nov 2010 21:50:04 +0100 Received: from richard by e179038178.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Nov 2010 21:50:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@couchdb.apache.org From: Richard Metzler Subject: Re: simple use cases for couch db Date: Thu, 18 Nov 2010 20:45:43 +0000 (UTC) Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 85.179.38.178 (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12) When I think for usecases of CouchDB I tend to think in *documents*. After all, CouchDB is a document oriented database. So everything that would require me to use a sheet of paper to accomplish a certain task in the real world should easily map to a document in CouchDB. But there are some limitations in CouchDB that make it hard to write certain real world applications. One of it is the absence of privacy restriction on document level. (see http://stackoverflow.com/questions/4101962/restricting-resource-access-in-couchdb-to-exactly-2-users ) I read that you are working in a large enterprise and I had the idea of a webapp for applying for holidays/vacation. You basically have a calender and users can apply for taking days off and their supervisor has to approve it. Creating the basic app would be quite easy but modeling the security restrictions might need an extra application layer.