That's what I do :)

I didn't want to aggregate potentially very complex XML and then transform.
Instead I use the cinclude processor to construct XHTML from XHTML snippets.
I use velocity templates to decide which snippets to cinclude and what
parameters to pass them.

The snippets are other routes through the cocoon pipeline.
What's a specific route called ? A pipelet? As in "One pipelet generates an
XHTML menu".
These different pipelets use their own generators and transforms so some may
be XSP, some may be JSP, Velocity, file/XSLT etc
I intend to use Velocity for 'dynamic' components (menus, forms etc) and
FileGenerator/XSLT for the content.

Ask if you need more info about how I'm using it.

See: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100859590130994&w=2

David

> -----Original Message-----
> From: Christoph Henrici [mailto:[EMAIL PROTECTED]]
> Sent: 09 January 2002 20:41
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Understanding cocoon ......
> 
> 
>   I have been studying, testing and playing around with cocoon in the 
> last few days as a newcomer : i am greatly impressed with 
> what ease with 
> cocoon "pipelines" arbrary data sources can be "chained" to a result 
> target: a very powerful paradigm (pipe) applied in a powerful context 
> (http) by using great technology (xml, xlst). In context of the 
> development of a web based application with requirements for a fairly 
> generic mechanism for the dynamic personlization of webpages 
> in terms of 
> content and style the following questions below arised.  
> Maybe they stem 
> from the fact, that i still missed a couple of aspect and 
> points, maybe 
> the requirement or idea is just not thought through enough, anyway:
> 
> a. Is it possible to "compose" pipelines and having the composed 
> pipeline beeing processing bottom-up and the whole beeing 
> rendered for 
> example as html: A compostion of tables within table, frames within 
> frame etc.,  where the content of the "elementary" pipelines are 
> dyanmic, taking for examples data from the databases. I am aware that 
> the aggregation <map:aggregate> mechansim provides a somewhat 
> similiar 
> construction, only the composition could also be composed of 
> aggregations.
> b. Is it possible the change the sitemap or more specifically the 
> piplines configuration ( <map:pipelines>)  dynamically.
> 
> If this can be achieved with cocoon 2 i would be very grateful for a 
> rough outline on how. If some additional development would be 
> needed it 
> would be great to have some starting hints at where to start 
> looking at. 
> Any other ideas or suggestions with regard to the requirement 
> are also 
> greatly appreciated.
> 
> Christoph Henrici
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to