NAME

Bigtop::Backend::Model::GantryCDBI - Bigtop backend generating Class::DBI::Sweet models

SYNOPSIS

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.

DESCRIPTION

This is a Bigtop backend which generates data model modules which are subclasses of Gantry::Utils::CDBI.

KEYWORDS

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.

AUTHOR

Phil Crow <philcrow2000@yahoo.com>

COPYRIGHT and LICENSE

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.