[Catalyst] Announce Catalyst::Plugin::DBIC::TemplateMaker
Kieren Diment
diment at gmail.com
Wed Aug 30 06:05:42 CEST 2006
Well perhaps I should have started the Acme namespace in Catalyst for this
one as it's pretty silly, but somewhat useful for me at least.
=head1 NAME
Catalyst::Plugin::DBIC::TemplateMaker - Catalyst Plugin for
Auto-generating simple Template Toolkit templates
=head1 SYNOPSIS
# include it in plugin list
use Catalyst qw/DBIC::TemplateMaker/;
# then get Catalyst to spit out a template
$c->response->body($c->get_display_template($resultset,
'tt_accessor_name'));
=head1 DESCRIPTION
Sometimes all you want is a set of hand made templates to display
stuff from a database. All this plugin does is provide you with a
method to create an extremely simple and featureless template which
you can then copy and paste from the browser into your text editor and
edit into a real template. It is intended as a development aid only
and use of the plugin should be removed on deployment.
It does virtually nothing, apart from saving you some typing. You
must resolve any related columns to a properly stringified name for
example.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060830/2c9d3eae/attachment.htm
More information about the Catalyst
mailing list