[Templates] Template::Provider::DBIC
Dave Cardwell
dave+gmane@perlprogrammer.co.uk
Fri, 02 Mar 2007 08:08:05 +0000
Hello there.
I've written a provider for Template Toolkit that allows template data
to be retrieved from the database via DBIx::Class. You can pass it a
DBIx::Class::ResultSet or DBIx::Class::Schema. The latter case allows
for calls such as:
$template->process('Foo/my_template');
$template->process('Bar/other_template');
...where the first part of the template name is the result set to search.
More information at
http://perlprogrammer.co.uk/module/Template::Provider::DBIC/ or CPAN.
--
Best wishes,
Dave Cardwell.
http://perlprogrammer.co.uk/