Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 78600 invoked from network); 1 Aug 2005 07:33:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Aug 2005 07:33:51 -0000 Received: (qmail 95923 invoked by uid 500); 1 Aug 2005 07:33:50 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 95721 invoked by uid 500); 1 Aug 2005 07:33:49 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 95708 invoked by uid 99); 1 Aug 2005 07:33:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 00:33:49 -0700 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 [62.111.75.7] (HELO kevin.aranex-provider.de) (62.111.75.7) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 00:33:40 -0700 Received: from localhost (localhost [127.0.0.1]) by kevin.aranex-provider.de (Postfix) with ESMTP id 5C1589E422E for ; Mon, 1 Aug 2005 09:33:46 +0200 (CEST) Received: from kevin.aranex-provider.de ([127.0.0.1]) by localhost (kevin [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19482-02 for ; Mon, 1 Aug 2005 09:33:45 +0200 (CEST) Received: by kevin.aranex-provider.de (Postfix, from userid 1004) id CFB1B9E4232; Mon, 1 Aug 2005 09:33:45 +0200 (CEST) Received: from [192.168.0.34] (p54A208A0.dip0.t-ipconnect.de [84.162.8.160]) by kevin.aranex-provider.de (Postfix) with ESMTP id 6D7C29E422E for ; Mon, 1 Aug 2005 09:33:45 +0200 (CEST) Message-ID: <42EDD056.4090002@uidesign.de> Date: Mon, 01 Aug 2005 09:33:42 +0200 From: Johannes Schaefer User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Quick evaluation of Cocoon Portal Engine as forrest:views implementation References: <42ECF8BD.6040900@apache.org> In-Reply-To: <42ECF8BD.6040900@apache.org> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at kevin.aranex-provider.de X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Once again, Ross was faster to post and I responded to the first thread rather than reading on. This subject line is mcuh better than the other one (I would not see a competition but reduction of workload and re-use of code on both sides!). Ross' evaluation confirms what I've found out. It should be easy to integrate Forrest content but the skinning is weak. Cheers Johannes Ross Gardler schrieb: > Layout Definition > ----------------- > > Nearest equivalent in forrest:views is the *.fv files. > > The portal engine excels here. It provides a web based interface for > defining your layout, this can be used in a dynamic environment to allow > users to have their own unique layout. > > Advantages I see of the portal engine over forrest:views include: > > - tried and tested config language > - configs can be stored anywhere (such as XML files, LDAP or other > repositories) > - clean and simple layout config > - deep nesting is possible > > > What I am not sure about at this stage is if we can have per directory, > per document or per doctype layout definitions. However, since the > layout is retrieved from a standard Cocoon pipeline I doubt it would be > difficult to move the forrest:views solution into the portlet engine.I > note one of the bullets in Carstens presentation was "Layout engine can > be used without additional Portal functionality" - need to investigate > this. > > Coplets > -------- > > Nearest equivalent in forrest:views is forrest:templates > > The portal engine is JSR-168 compliant (the demo includes the pluto [4] > test suite of portlets). WSRP support is "coming real soon". This gives > us access to a growing number of stnadards based portlets. > > > Looking at how a portlet is defined it should be trivial to migrate our > 30+ contracts to portlets. > > Advantages that I see of coplets over forrest:contracts include: > > - simpler config > - individual buffering of coplet content (prevents the whole page > breaking if an individual coplet is broken) > - individual error handling for each coplet > - configrable timeouts for coplet data > - configuration overriding capabilities > - configured rendering of individual coplets (i.e. create different > formats from a single coplet instance) > - uses placeholders for coplets - in a dynamic environment page will > render even if still waiting for some coplet data > > Themes > ------ > > This looks like the weakest part of the Cocoon Portal engine and where > forrest:views can improve things considerably. At present much of the > style information is embedded in the resulting HTML page. This is not > acceptable for a Forrest solution. > > Most of the style information is embedded within the layout definition > file. I think we would have to extend the portal engine to have > behaviour like that provided by forrest:hooks so that the structure of > the resulting portal page can be easily skinned by CSS. Looking at the > current layout config files this does not look like it is complex > (remember this is only a cursory evaluation, not a proposal at this stage) > > NOTE: there is a bullet in one of Carstens slides that says "change the > skin". I've not discovered more about this yet. > > Tools Framework > --------------- > > This is an area that is still under development, however, it is a stated > goal of the project to create a tools framework for managing portals. It > is likely that this framework could be used to build customer focussed > tools for developing forrest sites. > > Conclusion > ---------- > > My cursory evaluation makes me think that we should eplore this further, > but before I spend more time on this I would like to have some community > feedback. > > References > ---------- > > [1] > http://cocoon.zones.apache.org/demos/release/samples/blocks/portal/portal > > [2] > http://www.osoco.org/pdfs/ace2005-onehourportalwithcocoon.pdf > > [3] > http://cocoon.apache.org/2.1/developing/portal/index.html > > [4] > http://portals.apache.org/pluto/ > > > > -- User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg Fon +49 (0)7141 377 000 * Fax +49 (0)7141 377 00-99 Gesch�ftsstelle: User Interface Design GmbH * Lehrer-G�tz-Weg 11 * D-81825 M�nchen www.uidesign.de Buch "User Interface Tuning" von Joachim Machate & Michael Burmester www.user-interface-tuning.de