On Mon, Aug 22, 2005 at 10:14:53AM -0700, Randal L. Schwartz wrote: > > Andy> Apache::Template provides a simple skeleton of a typical > Andy> mod_perl/TT application. You're definitely encouraged to use it > Andy> as the basis of your own, more specialised handler and tweak the > Andy> bits as you need to. > > Apache::Template is to Template what Apache::Registry is to > "mod_perl". It's an interesting "get your feet" gadget, but you > really should be looking at writing your own framework (or reusing > parts of others) when you start doing serious work.
FWIW, I'm working on yet another framework to do just this: implement MVC with Template as the V. There are a number of other frameworks on CPAN that do MVC to some degree, but none that I've seen that work (in an integrated fashion) with Template. I've had enough of embedding Perl in HTML! Plus I have a lot of other tools I want out of the box. Work is coming along slowly, as it's just part of a much larger project and I have to work on it outside my day job. But perhaps some of you would be interested in checking it out when it gets to a useful state. It's working by subclassing Template::Service::Apache at the moment but I can see I really need to have my own handler, so that's the next step. _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
