Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 47813 invoked from network); 4 Jan 2006 10:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jan 2006 10:46:17 -0000 Received: (qmail 83055 invoked by uid 500); 4 Jan 2006 10:46:16 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 82549 invoked by uid 500); 4 Jan 2006 10:46:14 -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 82538 invoked by uid 99); 4 Jan 2006 10:46:14 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO [127.0.0.1]) (209.237.227.194) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2006 02:46:14 -0800 Message-ID: <43BBA7E3.3000302@apache.org> Date: Wed, 04 Jan 2006 11:48:03 +0100 From: Carsten Ziegeler User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [RT] Simplifying component handling References: <43B9164F.5080201@apache.org> <43B95C08.8010602@dslextreme.com> <7557e99f0601020933xe119a58j588921935798ba63@mail.gmail.com> <43BA239A.5000200@apache.org> <43BA403D.7000701@apache.org> <43BA46C5.3020409@apache.org> <43BA4B75.7040908@apache.org> <43BB82F8.5000808@apache.org> In-Reply-To: <43BB82F8.5000808@apache.org> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 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 Sylvain Wallez wrote: > I asked Carsten why he doesn't want to use the bridge that _he_ wrote, > and would love to have his answer. Carsten? > Now all this comparing of the things Apple did with our situation is missing imho a big difference: Apple decided that their next OS (MacOS X) should have this and that feature and *then* they thought about a possible bridge for old stuff. So first they had a plan on what to build next (without taking old stuff into consideration). Even more important the bridge is a connection from the new stuff to the old one. Currently we are discussing the opposite! We say, we have this nice bridge that allows the user to use anything (Spring, Pico, Hivemind) she likes and this bridge is a connection from our old stuff (we want to get rid off btw) to new stuff. So, we don't have a clear plan on what the new version should be and just leave it to the user. This would be like if Apple had said, oh, we still use MacOS 9 and provide "bridges" for windows, linux and AmigaOS. See the difference? And this is why I don't want to use the bridge in general. It's the wrong way. The bridge is nice if you want to use Spring etc. with Cocoon and want a tighter integration. But with the bridges the core will never change, it will still be ECM++. And the current bridge has some other problems, it does not provide access to everything required and I think it might have a performance problem if used the wrong way. Now, actually, I wanted to have constructor injection and more simplifications to make working with the portal block easier. As the portal block in theory has no real connections to cocoon - it's a set of components triggered by a generator - I think I'll use a different approach there, like embedding Spring directly into the generator and building the whole portal on top of Spring without using anything of Avalon. Other portal relevant projects are using Spring anyways, so it might make sense to go into that direction as well. But I fear this approach will not work for other blocks. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/