Catalyst::Helper::Model::DBIDM(3p)

NAME
Catalyst::Helper::Model::DBIDM - Helper for DBIx::DataModel Schema Models

SYNOPSIS
  script/create.pl model CatalystModelName DBIDM MyApp::SchemaClass [ MyApp::SchemaCreatorClass ]

DESCRIPTION
Helper for the DBIx::DataModel Schema Models.

  Arguments:
"CatalystModelName" is the short name for the Catalyst Model class being generated (i.e. callable with "$c->model('CatalystModelName')"). It should thus not start with "MyApp::Model".

"MyApp::SchemaClass" is the fully qualified classname of your Schema. Note that you should have a good reason to create this under a new global namespace, otherwise use an existing top level namespace for your schema class.

"MyApp::SchemaCreatorClass" is the fully qualified name of the class that creates your Schema (the one that runs "DBIx::DataModel->Schema('MyApp::SchemaClass')"). If present, the generated model class will include a "use" statement to run this schema creator class.

METHODS

  mk_compclass

SEE ALSO
General Catalyst Stuff:

Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper, Catalyst,

Stuff related to DBIC and this Model style:

DBIx::Class, DBIx::Class::Schema, DBIx::Class::Schema::Loader, Catalyst::Model::DBIC::Schema

AUTHOR
Cedric Bouvier "cbouvi@gmail.com", largely inspired by the works of Brandon L Black, "blblack@gmail.com"

LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.