From dev-return-11539-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Sun Aug 22 18:37:57 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 46907 invoked from network); 22 Aug 2010 18:37:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Aug 2010 18:37:57 -0000 Received: (qmail 34570 invoked by uid 500); 22 Aug 2010 18:37:56 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 34491 invoked by uid 500); 22 Aug 2010 18:37:56 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 34478 invoked by uid 99); 22 Aug 2010 18:37:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Aug 2010 18:37:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@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; Sun, 22 Aug 2010 18:37:49 +0000 Received: by iwn6 with SMTP id 6so6887405iwn.11 for ; Sun, 22 Aug 2010 11:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=N8roAAGT5aMEZfHSvgHUmPqSpzB5KPbcLUa0iUaaHKM=; b=KKRciAt/P3014/ph8TCddXi1Wm5AMPgpT9K27kF/oeVjbV26q0NxLBvNpQs0tRmiq6 215nKd75fimCSiRgZD8cRByaHzoKtqdLor9K5tQ2sfL/OqSC116wzOhbMsDZ+EQtS8C0 0t9JGr96vjqmiCG0fBFTciOgGXoR/WdHWZqMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FPTkbxjOThnz+RsFK4VKTeN459SsdzJsqbnV1UDzN19sw1XCRRR78mOs4kZUhgh98r gle2P+UXN3zOhGdfvCORVc75UXvSNplFGwRVtPbcPXhDUikN80J9cbnyDa95bxKZAbCa 5nenWjvbY74y2xYPxPSmVA7AvGAAhECN+N22U= MIME-Version: 1.0 Received: by 10.231.182.5 with SMTP id ca5mr5352655ibb.68.1282502248847; Sun, 22 Aug 2010 11:37:28 -0700 (PDT) Received: by 10.231.169.18 with HTTP; Sun, 22 Aug 2010 11:37:28 -0700 (PDT) In-Reply-To: <4C6E67B6.3050509@gmail.com> References: <95D3E102-B5DF-4815-BC3C-628EE4AB4C19@dionne-associates.com> <4C6E67B6.3050509@gmail.com> Date: Sun, 22 Aug 2010 20:37:28 +0200 Message-ID: Subject: Re: splitting the code in different apps or rewrite httpd layer From: Benoit Chesneau To: dev@couchdb.apache.org Cc: Robert Dionne Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Aug 20, 2010 at 1:32 PM, Volker Mische wr= ote: > +1 for a refactor. > > GeoCouch duplicates a lot of code. I tried to keep the names in as simila= r > (though meaningful) to the original ones as possible to see where the > duplicated code is. > > I would love to see that everyone who wants a new kind of indexer just ne= ed > to provide the data structure and all the design document handling, updat= er > (group) handling, list functions etc is done automatically. > > Cheers, > =A0Volker > It seems that noone except us is interrestted in that ;) Anyway I'm thinking that in case of indexer it would be very useful to have a generic way to add some kind of handler allowing any people to plug its own stuff to the system indeed. Also refactoring would allow us to add comments to the code which would help to review code. - benoit