[Dbix-class] Template::Provider::DBIC

John Napiorkowski jjn1056 at yahoo.com
Fri Mar 2 16:51:00 GMT 2007



----- Original Message ----
From: Dave Cardwell <dave+gmane at perlprogrammer.co.uk>
To: dbix-class at lists.rawmode.org
Sent: Friday, March 2, 2007 2:53:41 AM
Subject: [Dbix-class] Template::Provider::DBIC

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 
(thanks mst!).

More information at 
http://perlprogrammer.co.uk/module/Template::Provider::DBIC/ or CPAN.


-- 
Best wishes,
Dave Cardwell.

http://perlprogrammer.co.uk/

This is awesome, just what I was talking to my client about yesterday (as a task that needed doing).  I'll be playing with is shortly.  --John


_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/





 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



More information about the Dbix-class mailing list