cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Variations on a theme by Cocoon
Date Tue, 15 Feb 2000 14:53:30 GMT
Zvi Avraham wrote:
> 
> Niclas Hedhman wrote:
> 
> > Zvi Avraham wrote:
> >
> > >
> > > Sounds OK to me, but I wandering if possible to "linearize" entire path of
> > > producer -> filter -> serializer
> > > or
> > > producer -> filter1 -> filter2 -> ... -> filterN -> serializer
> > > compile all this into one .class file (Servlet) ?
> > >
> > > Then you even don't need Cocoon in runtime, only in design time (compile
> > > time? :)
> >
> > This is not a clear cut case.
> >
> > First of all, this is already possible. Generate the Site content into static
> > html files and have them served by the web server. Won't get faster than that
> > in runtime.
> >
> 
> That case can be easily recognized too.
> If in producer stage, we have static XML file (with no or static entities
> included), then is possible just to apply all transformations (again if all
> conditions and parameters are static too) and write the result of all
> transformation as output .html (or .vrml etc..) static file.

In case you didn't notice, this is called "stylebook" and the whole idea
of Cocoon2 merging is entirely based on this :)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message