Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 3727 invoked from network); 4 Oct 2005 09:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2005 09:50:24 -0000 Received: (qmail 77800 invoked by uid 500); 4 Oct 2005 09:50:23 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 77755 invoked by uid 500); 4 Oct 2005 09:50:23 -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 77743 invoked by uid 99); 4 Oct 2005 09:50:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 02:50:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.169.145.161] (HELO natfrord.rzone.de) (81.169.145.161) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 02:50:28 -0700 Received: from [172.26.0.5] (242.Red-213-97-135.staticIP.rima-tde.net [213.97.135.242]) (authenticated bits=0) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j949nxFe027668 for ; Tue, 4 Oct 2005 11:50:00 +0200 (MEST) Subject: Re: status of "views" development (Was: svn commit: r292072) From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <20051004092020.GA23661@igg.indexgeo.com.au> References: <20050927235942.91569.qmail@minotaur.apache.org> <20051004032208.GA20530@igg.indexgeo.com.au> <1128410482.8261.22.camel@localhost> <20051004072649.GA23439@igg.indexgeo.com.au> <1128411528.8261.24.camel@localhost> <20051004092020.GA23661@igg.indexgeo.com.au> Content-Type: text/plain; charset=utf-8 Date: Tue, 04 Oct 2005 11:49:58 +0200 Message-Id: <1128419398.8261.43.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El mar, 04-10-2005 a las 19:20 +1000, David Crossley escribió: > Thorsten Scherler wrote: > > David Crossley escribi??: > > > Thorsten Scherler wrote: > > > > for the new plugins because the contracts have to request all content > > > > that they are using. There is no default pipeline anymore. > > > > > > What! Do you mean also the original source which provides > > > the main content? > > > > Per definition there is no main content anymore. That is why I always > > said views are going to change forrest from ground up. In combination > > with the lm forrest could be used as renderer only. > > What "definition" are you referring to? The J2EE dispatcher view pattern. > I am going by the description at > site-author/content/xdocs/TR/2005/WD-forrest10.html > > The first two steps provide the initial content via an > input plugin, then views operate from Step 3 onwards > adding more content nuggets, functionality, and design. No: request theme | | \|/ \|/ core (views) -> output plugin (views can bypass them) -> output/response | /|\ \|/ | +------------------+ +-----------------+ |forrest:contracts |--->| input plugin | |forrest:properties|<---|src (+navigation)| +------------------+ +-----------------+ View is the one and only dispatcher that will only request what is needed. We do not have a linear processing anymore. Views are responsible to contact the src-resolver (1.) and dispatch/filter (2.). What I am trying to say (since my work with views started) is that 3. is done in the dispatching phase to not carrying content down the pipe that is not needed. Views are more then a structurer, mainly it is a dispatcher. IMO it should be: 1) Resolver (view) 2) Filter (content as dispatched and determined by the view) 3) Xifier (content) 4) Windower (presentation) 5) Themer (presentation) 6) Serializer (presentation) -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)