CGI::Lazy::Template::Boilerplate - CGI::Lazy::Template::Boilerplate documentation


CGI-Lazy documentation  | view source Contained in the CGI-Lazy distribution.

Index


LEGAL

Top

NAME

Top

CGI::Lazy::Template::BoilerPlate

SYNOPSIS

Top

	use CGI::Lazy;

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

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

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

	$b->buildTemplates;




DESCRIPTION

Top

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

Top

buildTemplates ()

Builds a set of templates appropriate for widget given.


CGI-Lazy documentation  | view source Contained in the CGI-Lazy distribution.