cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject RE: [RT] the quest for the perfect template language
Date Fri, 04 Apr 2003 11:14:40 GMT


> -----Original Message-----
> From: Stefano Mazzocchi [mailto:stefano@apache.org]
> Sent: Friday, April 04, 2003 2:49 AM

> > I can't see any good time to use an extension. If you need a simple
> string,
> > int, Boolean, whathaveyou - pass it in as a param. If you need an array,
> or
> > something hierarchical turn it into XML and feed it to the document
> call.
> > This seems to me to be a perfect match for cocoon.
> 
> Two things worry me:
> 
>   1) performance: document() is a push-based function. We can't have a
> call to a cocoon pipeline for each and every variable I need.

Not for everything, just as an option.

> 
>   2) caching (related to the above): how do I know if the result is
> cacheable if I have no hooks to the document() engine?

Isn't a URIResolver a hook? 

-Rob

> 
> Stefano.


Mime
View raw message