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.

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to