Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 11905 invoked from network); 11 Jan 2006 13:20:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jan 2006 13:20:15 -0000 Received: (qmail 66159 invoked by uid 500); 11 Jan 2006 13:19:50 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 66008 invoked by uid 500); 11 Jan 2006 13:19:50 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 65978 invoked by uid 99); 11 Jan 2006 13:19:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 05:19:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 05:19:49 -0800 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [130.237.218.93] (cvap80.nada.kth.se [130.237.218.93]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11/8.12.11) with ESMTP id k0BDJN1w011285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Jan 2006 14:19:27 +0100 (MET) Message-ID: <43C505DB.4030202@nada.kth.se> Date: Wed, 11 Jan 2006 14:19:23 +0100 From: Daniel Fagerstrom User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: [M10N] GroupId for blocks and layering of Cocoon References: <20060110182806.13287.qmail@minotaur.apache.org> <43C40D0A.4090003@mobilebox.pl> <43C4151D.2010300@nada.kth.se> <43C41879.1090308@apache.org> <43C4D657.1040308@nada.kth.se> <43C4DB60.6080507@apache.org> In-Reply-To: <43C4DB60.6080507@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Was: Re: svn commit: r367714 - in /cocoon/trunk/cocoon-template: ./ pom.xml src/ src/main/ src/test/ Carsten Ziegeler wrote: >Daniel Fagerstrom schrieb: > > >>Jorg Heymans skrev: >> >> >>>Giacomo Pati wrote: >>> >>> >>... >> >> >>>Each block should have the same groupId yes. Should we make it >>>o.a.c.blocks ? (in analogy with [1]) >>> >>> >>Everything will be a block, the core included, in analogy with [2]. So >>it would be redundant to introduce an extra level in the groupId. >> >> >> >Hmm, don't we need some "bootstrapping", for example the cocoon servlet >or the cli main class etc? I think these are not really blocks. Even if >they are from an implementation pov, they are not from a functionality >pov. So personally, I would distinguish between blocks and >"bootstrapping" which could be core. > > One of the goals from the NG discussions during the end of the last year was to make Cocoon less monolithic, and make it easier to reuse parts of it. At the top layer in an layered Cocoon architecture I envision that we have "controllers" (that implement Servlet). The controller chain for large Cocoon systems would be: BlocksManager -> BlockManager -> [SitemapServlet | FlowscriptServlet | JavaFlowServlet | ... ] In a small application with less need for modularization the controller chain might be just: FlowscriptServlet If we want the different controllers to be reusable it makes less sense to consider one of them a bootstrap layer. The blocks framework is under refactoring to implement this vision. --- o0o --- Until things has settled a little bit more I suggest that we keep the current flat layout with o.a.c as GroupId. I also think that GroupId should reflect community structure rather than function. If we start to grow as a community and get clear sub communities that work on disjunct set of artifacts, it would make sense to have a more fine grained GroupId structure. /Daniel