[Templates] Template::Plugin::XML::Writer

Perrin Harkins perrin@elem.com
Tue, 11 Jul 2006 13:36:24 -0400


On Tue, 2006-07-11 at 18:25 +0100, Addison, Mark wrote:
> We have an export system and presentation layer built
> around TT for output generation (multiple formats, not 
> just XML). I didn't want to enable PERL blocks in the 
> templates or change the exporter code adding an extra 
> path to pass a script instead of a template for output 
> generation (which would still expose Perl going in).

I don't mean to pick on you, but I do see several problems with this
approach:
- It's not a template.
- It doesn't get the syntax checking that perl code normally would.
- It can't be debugged or profiled in the normal ways.
- It's a low slower than it needs to be.

But then I'm against the DBI plugin too, so it's safe to say I'm in the
minority.

- Perrin