Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Maypole::FormBuilder::Model::Plain - Class::DBI model without ::Loader
SYNOPSIS
package
Foo;
use
'Maypole::Application'
;
use
Foo::SomeTable;
use
Foo::Other::Table;
Foo->config->model(
'Maypole::FormBuilder::Model::Plain'
);
Foo->setup( [
qw/ Foo::SomeTable Foo::Other::Table /
] );
# Foo now inherits from Class::DBI::FormBuilder via the model
Foo->form_builder_defaults( {
method
=>
'post'
} );
DESCRIPTION
This module allows you to use Maypole with previously set-up Class::DBI classes; simply call setup
with a list reference of the classes you're going to use, and Maypole will work out the tables and set up the inheritance relationships as normal.