#===========================================================================
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.
CGI::Lazy::Template::BoilerPlate
use CGI::Lazy; my $q = CGI::Lazy->new({...}); my $widget = $q->ajax->dataset({...}); my $b = $q->template->boilerplate($widget); $b->buildTemplates;
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 apache, at least for as long as you're generating boilerplate templates
Builds a set of templates appropriate for widget given.
To install CGI::Lazy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Lazy
CPAN shell
perl -MCPAN -e shell install CGI::Lazy
For more information on module installation, please visit the detailed CPAN module installation guide.