LEGAL

#===========================================================================

Copyright (C) 2008 by Nik Ogura. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Bug reports and comments to nik.ogura@gmail.com.

#===========================================================================

NAME

CGI::Lazy::Template::BoilerPlate

SYNOPSIS

use CGI::Lazy;

my $q = CGI::Lazy->new({...});

my $widget = $q->ajax->dataset({...});

my $b = $q->template->boilerplate($widget);

$b->buildTemplates;

DESCRIPTION

CGI::Lazy::Template::Boilerplate is a module to generate boilerplate template examples for Lazy widgets. The templates generated can then be customized to do whatever you want, and look like whatever you want. Some pieces of template syntax might be confusing to users of Lazy, so this will generate a nice starting point for you.

The template directory must be writeable by whatever user Apache is configured to run as, at least for as long as you're generating boilerplate templates.

METHODS

buildTemplates ()

Builds a set of templates appropriate for widget given.