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 89C334C07 for ; Tue, 12 Jul 2011 01:19:29 +0000 (UTC) Received: (qmail 41719 invoked by uid 500); 12 Jul 2011 01:19:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 41685 invoked by uid 500); 12 Jul 2011 01:19:27 -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 41677 invoked by uid 99); 12 Jul 2011 01:19:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 01:19:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of marcello.nuccio@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 01:19:20 +0000 Received: by iwn9 with SMTP id 9so8032848iwn.11 for ; Mon, 11 Jul 2011 18:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=3VKX8SzdJc5zLTIjEfNeemh4Z+6xvTWKGSj3S+DV4No=; b=bREmbXTbnG6tH2BEQ1DSzt7WG9oF6uifSQkP1wm1HfECQ39/sjCabfY8/qgqNWY/fD Kx3uRteFJ7jRJXSAvMBUVJPl1Nd8JPvbyJfDvparQ5IG6OdFPJlGLIYIha6q5Fowz4m7 HvDI5ovWVmC/KQLquD6InbSBHXu5sOZ5hcCuk= MIME-Version: 1.0 Received: by 10.42.161.5 with SMTP id r5mr5877335icx.13.1310433539457; Mon, 11 Jul 2011 18:18:59 -0700 (PDT) Received: by 10.42.6.140 with HTTP; Mon, 11 Jul 2011 18:18:59 -0700 (PDT) In-Reply-To: <8B350540-5545-4983-9413-68BB920ABC67@supercoders.com.au> References: <8B350540-5545-4983-9413-68BB920ABC67@supercoders.com.au> Date: Tue, 12 Jul 2011 03:18:59 +0200 Message-ID: Subject: Re: Building substantial "pure" 2 tier CouchApps - feasible? From: Marcello Nuccio To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I am building a pure couchapp to: - insert the orders of the clients; - insert the modifications requested by the clients; - assign the work to the laboratories; - track the warehouse. - etc. Not very big, but quite complex because I have many document types and I must exchange data with lot of legacy systems. It is an hard work if you are used to RDMS. The most challenging problems a= re: - how to model the data to keep the couchapp simple, efficient, and easily interoperable with other system? - access control: in CouchDB is a brand new world. Everything you already know on access control is almost useless with CouchDB. - you will need to write some external utility to do some tasks, not only for maintenance. just my 2cents... Marcello 2011/7/12 Andrew Stuart (SuperCoders) : > I'd like to build a rather substantial application, it would be nice to > build it as a pure 2 tier CouchApp. > > How practical is this really? =C2=A0Does anyone have experience building = anything > big in this way? =C2=A0Or are 2 tier CouchApps really only effective for = small > stuff? > > I understand that it very much depends on what the app does, but I'm tryi= ng > to get a general sense of it. > > If pure 2 tier CouchDB apps is an impractical goal then we'll design the > architecture from the beginning as a 3 tier app and whack in some sort of > server. > > as >