> -----Original Message----- > From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] > 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.