[% package_name %] - model for [% table_name %] table (stub part)
This model inherits from [% base_class || base_class_default %] and uses its generated helper [% gen_package_name %].
It was generated by Bigtop, but is NOT subject to regeneration.
[% gen_package_name %] - model for [% table_name %] table (generated part)
This model mixes into [% package_name %], because Class::DBI bindings don't really allow a choice. It was generated by Bigtop, and IS subject to regeneration.
You may use all normal Class::DBI::Sweet methods and the ones listed here:
Bigtop::Backend::Model::GantryCDBI - Bigtop backend generating Class::DBI::Sweet models
If your bigtop file looks like this:
config { base_dir `/home/user`; ... Model GantryCDBI {} } app Name {...}
and there are tables in the app block, when you type:
bigtop your.bigtop Model
or bigtop your.bigtop all
this module will make model modules which are subclasses of Gantry::Utils::CDBI (which inherits from Class::DBI::Sweet in a mod_perl safe way).
All modules will live in the lib subdirectory of the app's build directory. See Bigtop::Init::Std for an explanation of how base_dir and the build directory are related.
This is a Bigtop backend which generates data model modules which are subclasses of Gantry::Utils::CDBI.
This module does not register any keywords. See Bigtop::Model for a list of keywords models understand.
The default for the model_base_class keyword is Gantry::Utils::CDBI.
To keep podcoverage tests happy.
Tells tentmaker that I understand these config section backend block keywords:
no_gen model_base_class template
Tells tentmaker what this module makes. Summary: Class::DBI models.
Called by Bigtop::Parser to get me to do my thing.
Called by Bigtop::Parser so the user can substitute an alternate template for the hard coded one here.
Phil Crow <crow.phil@gmail.com>
Copyright (C) 2005 by Phil Crow
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Bigtop, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bigtop
CPAN shell
perl -MCPAN -e shell install Bigtop
For more information on module installation, please visit the detailed CPAN module installation guide.