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 2427A10257 for ; Thu, 14 Nov 2013 23:48:48 +0000 (UTC) Received: (qmail 45173 invoked by uid 500); 14 Nov 2013 23:48:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 45106 invoked by uid 500); 14 Nov 2013 23:48:46 -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 45098 invoked by uid 99); 14 Nov 2013 23:48:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 23:48:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 23:48:38 +0000 Received: by mail-wi0-f175.google.com with SMTP id hm11so263530wib.8 for ; Thu, 14 Nov 2013 15:48:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=oJy6zRmpaWBZkn7RsDRq9SsqAuhanqCKhiODQjMnuKQ=; b=WPydaiXrJgXtB6y1648hA/iUaYAmJY9aaTxZP5KJk8IWfe+pETzZGDKCmP5s2Ao1xk RzOnVLxmf+0NQMxavA7aPbVVcSJ2OAbqUh5NyjfyGqBZmdqyQAQV+FMGBMtA0EBLgIk0 p+gsDTZrTvxg2e/DhDZlgLbLvzNN3r1AG6EQ+kb3rtxoR9Z0Vm7JHZMK9662bYsD8f4D P5xBsCvlqA/jBiCQ0L04zWjfzsIV6FDERJ3keTdJ+UsHiDBGpS7A7fQgDXYdFbAhq2Ex OnaQl+NEvBVf7TPSS/s09uZIho4uC2glnCIVjtPOT/YoE2enqjWemjtgeLHrdVrELMeg T/6g== X-Gm-Message-State: ALoCoQk+cc7Sz6J1YGFHJYo8pGwnkQ2Rm4Nw0u9B16eWW8fdetsYDEn7QRaJWu5NNJw5fIFOmThr X-Received: by 10.194.239.40 with SMTP id vp8mr4496865wjc.45.1384472898369; Thu, 14 Nov 2013 15:48:18 -0800 (PST) Received: from [192.168.2.112] ([77.72.35.178]) by mx.google.com with ESMTPSA id a51sm565835eeh.8.2013.11.14.15.48.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 15:48:17 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: show/list From: Filippo Fadda In-Reply-To: Date: Fri, 15 Nov 2013 00:48:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <85298D98-4E0B-4AFD-AF1E-2BD32547D52A@programmazione.it> References: <75175787-0293-4918-9CC3-0CE24B8B41C6@programmazione.it> <528536B9.5040000@gmail.com> <5285397E.1010802@alwaysreformed.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 14, 2013, at 10:49 PM, Stanley Iriele wrote: > That argument ca be made about just about any software design..but > CouchDB has this very nice separation of "what you get back" vs "what = is > stored". If i have a gian document and I want an array of of say = player > installs from my document..why should i load up the entire thing when = i > only need a small tid bit of it?....If i had a class document and i = wanted > the first 3 students..why then should I pull out other needless = information > from the database?... If you have a giant document, there is something wrong in your design. = If you have a 'class' document, you don't store the students inside the = 'class', but you store a single document per student. > ...when people come from the LAMP stack world they get very nervous = about > rethinking the delegation of responsibilities...One thing that i keep > seeing is..."I dont need a server in the middle because list/shows = takes > care of it"....then the following is "they do not replace app > serves"...this is a strange argument but so sum it up...app servers = are not > replaced by list show functions and should not be...there are times = when > all your need is a few random calls and MAYBE..for some cases you = don't > need one....but to be honest they can exist in both spaces just = fine... I'm not nervous :-) and I don't come directly from LAMP. I'm 37 years = old and I wrote almost everything: drivers, windows shell extensions, = client server apps, three tier apps, I have used object oriented = databases, etc. What I see here is that just a simple join can't be done = using a show or a list. And if I can't make a join, the "CouchApp = Server" doesn't fit my needs, because I can't write any serious = application. I think the "CouchApp Server" idea is cool, but the actual = implementation is weak. And I think, IMO, that CouchDB is still = primarily a database and not an application server. But this is just my = vision. -Filippo