It's pretty standard to create your Template object once at application
startup time. I don't think this should be a problem for most people.
> > > If you do that, you may want to share one Template::Provider object
> > > between them so that the cache will be shared.
>
> I've modified Perrin's original patch to use a shared Template::Provider
> object and a private Template object for setting application-specific things
> like INTERPOLATE, DEFAULT, ERROR, PLUGINS, etc.
It occurs to me now that this may not work so well with a shared cache.
Those options may change what the template gets compiled to. I think
you'll need to use one provider per application if you're going to vary
these.
- Perrin
_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT