From couchdb-user-return-1325-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Wed Sep 17 16:42:19 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 86910 invoked from network); 17 Sep 2008 16:42:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 16:42:19 -0000 Received: (qmail 14839 invoked by uid 500); 17 Sep 2008 16:42:15 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 14810 invoked by uid 500); 17 Sep 2008 16:42:15 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 14799 invoked by uid 99); 17 Sep 2008 16:42:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 09:42:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msciab@eprometeus.com designates 213.156.62.149 as permitted sender) Received: from [213.156.62.149] (HELO mail.sciabarra.com) (213.156.62.149) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 17 Sep 2008 16:41:15 +0000 Received: (qmail 27039 invoked by uid 1007); 17 Sep 2008 17:03:27 -0000 Received: from host96-182-static.29-87-b.business.telecomitalia.it (HELO ?192.168.2.100?) (msciab@eprometeus.com@87.29.182.96) by mail.sciabarra.com with SMTP; 17 Sep 2008 17:03:27 -0000 Message-ID: <48D13318.9070905@eprometeus.com> Date: Wed, 17 Sep 2008 18:40:56 +0200 From: Michele Sciabarra Reply-To: michele@sciabarra.com User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: couchdb-user@incubator.apache.org Subject: Re: A modest proposal for an erlang api for couchdb, v2 References: <48CE39C3.1030405@eprometeus.com> <48CE6029.50701@sciabarra.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Paul Davis ha scritto: > Watch this space! > > Actually "Watch couch_http.erl!" > > Damien mentioned a day or to ago in IRC that he's working on > refactoring couch_http.erl to be more modular which is greatly needed. > Not sure on the end design, but from the sounds of it he might be > right this moment working on this part. Well, its 12:15, so he might > actually be eating lunch. But you get the picture. > > Exciting times. > Well, I realized that the existing API mentioned in the Wiki (http://code.google.com/p/erlcouch/) is almost the same I described (not surprisingly, being based on similar assumptions). And that just documenting a simple refactoring of couch_http.erl should be enough to provide an Erlang API. This way I concluded that using for now erlcouch , then waiting for a refactoring of couch_http.erl should allow me to do the minimu work to upgrade, when Damien will refactor the code and expose the API. I am ready to do the documentaion effort, if needed. My plan however has a drawback: erlcouch is not working currently against the trunk :-( Any hints?