cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hartle <mhar...@hartle-klug.com>
Subject Re: [RT] reconsidering pipeline semantics
Date Mon, 08 Jul 2002 15:53:54 GMT
Berin Loritsch wrote:

>The problem is that the sitemap exposes everything underneath to the end
>user.  It would be much better if the sitemap markup EITHER supported
>the
>resource/view paradigm OR purely the pipeline paradigm.  The resource
>would specify the pipeline fragment that starts the pipeline.  The view
>would specify the fragment that ends the pipeline.
>
Hm, currently, we are processing the pipeline and caching its output, 
but whenever there is a request, we at least have to verify in the 
pipeline whether the cached output can be used or not. When there is a 
seperation into resources and views as described here, we would be able 
to (pre)generate content independently from requests based on the 
underlying data (sources, etc) and its own updating cycles (publishing 
every x hours, by database-triggered notification, etc) and deliver it 
via views to the requestor and their request cycles (500 times per 
hour), thous better decoupling both.

I guess we might also get the same effect with a pure pipeline paradigm, 
Stefanos overloading/pipeline fragments and some sort of Notifier that 
can be set per pipeline fragment that triggers pregeneration for the 
cache (on database updates, etc). IIRC, some time ago someone (Berin ?) 
spoke about the Monitor components in Excalibour and about how it could 
be used in conjunction with Sources and the expensive 
getLastModified()-calls; that decoupling went in the same direction, but 
this seperation between resources and views makes it easier to see.

Best regards,

Michael Hartle,
Hartle & Klug GbR


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message