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 8B08A1052B for ; Fri, 15 Nov 2013 01:09:31 +0000 (UTC) Received: (qmail 46593 invoked by uid 500); 15 Nov 2013 01:09:30 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 46559 invoked by uid 500); 15 Nov 2013 01:09:30 -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 46550 invoked by uid 99); 15 Nov 2013 01:09:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Nov 2013 01:09:29 +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 (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.215.182] (HELO mail-ea0-f182.google.com) (209.85.215.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Nov 2013 01:09:23 +0000 Received: by mail-ea0-f182.google.com with SMTP id o10so868316eaj.13 for ; Thu, 14 Nov 2013 17:09:02 -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=zNJoB3HBSTd7xnygW/+YpPx/XwZV5dRq7Cm5EAglXeQ=; b=YGeMWdGSamjlqdWetk/KnFb4YWhYklASyiPv1bCcQiPL0lslHVXGXyRrY0M+0x83rL 9AMyBZFKac7U0nKZUI5L19p+xxQn4mt2Zkjn/2mQ9hJMFw3C8CFrYco3iSEhlLXJ9RSd cqFUTKMKqtQPabwfZHyiu+Ktn1EKYFQrO2PDbNjGxBbdMuFFS2oHNxNjU3/k/2COaJ/5 yo7KhDKVmAvGYxzAJ0GixD0yhZPHbIUz76Rg5bw9PviXQeqzGr/I1AoznytSG2Xxm1JI ny/vbdKFx8xcMdJZxAuPrl9HQP9Qg5S+SS/iTSHG3KGmAxyNtzzq8k50Psqjoota4qp2 Y6ug== X-Gm-Message-State: ALoCoQkJt1BErHcnLK2TJwCMkj0RweV6ejxWhoH7PBkRRLJYhbIRxDQ/fzniCgZXrrzA8C0WHQua X-Received: by 10.14.7.71 with SMTP id 47mr133267eeo.122.1384477742131; Thu, 14 Nov 2013 17:09:02 -0800 (PST) Received: from [192.168.2.112] ([77.72.35.178]) by mx.google.com with ESMTPSA id a51sm1078788eeh.8.2013.11.14.17.09.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 17:09:01 -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 02:08:59 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <888A8BDF-4E69-47F6-AB70-82EAB49A4638@programmazione.it> References: <75175787-0293-4918-9CC3-0CE24B8B41C6@programmazione.it> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 15, 2013, at 1:37 AM, Benoit Chesneau wrote: > First shows and lists can be handled in a langage different that JS. I know, I wrote a query server. > I agree *now* you can't "correlate data and assemble them to provide = a > resut". But this is now. Nothing stop us to add such features. Nothing = stop > us to improve it so it can be more useful. As I said previously it = should > be easy to do it. Of course nothing stop to improve them, my criticism is always = constructive and I'm always open to discuss and contribute, at least in = term of design, because my Erlang knowledge actually sucks. > If I hear you you wouldn't have an new technology . lists and shows = are not > a joke. You can call them unfinished concept, work in progress, but = some > people like me consider it is serious. I don't call them unfinished and I don't find them useful, as they are, = actually. But this can change in the future. I think show and list = satisfy the requirements they are made for; I'm just criticizing those = requirements, not their implementation. > The concept of processing and transforming data is related to the = concept > of database. All the databases does that via the queries or stored > procedure. Shows and lists are literally a way to query a function on = your > database to retrieve some results from the data stored in it. Couchdb = is > not yet a functional db but it can be modulo some changes. >=20 > Example of improvement: having something like in datomic allowing you = to > post your data with an atomic function to make some changes on the = data > you posted based on the current database value looks like the updates > function but is quite better. This is an improvement that could be = done. >=20 > In postgres you have the possibility to extend the database functions = and > queries using foreign language wrappers. Quite similar to shows and = lists. > But we should make it more efficient. Yes, I know about PostgreSQL. You are breaking through an open door. We = are here to talk and define all together the path to improve CouchDB. A = new protocol, a PL, I'm really open to discuss about any improvements. -Filippo=