NAME
Catalyst::Helper::Model::CRUD - generate sqls, controllers and templates from DBDesigner 4 file
SYNOPSIS
./myapp_create.pl model DBIC CRUD [DBDesigner 4 File] [some modules]
DESCRIPTION
Helper for Catalyst::Plugin::CRUD.
This helper generates sqls, default controllers and default templates.
METHODS
encode($str)
translate comment of DBDesigner4 to UTF-8
get_class_name($str)
translate hoge_fuga_master to HogeFugaMaster
get_relation($relation_id)
get relation of appointed ID
get_table($table_id)
get table of appointed ID
get_setting_index($array, $name)
get setting number of appointed name
get_primary(@sqls)
get primary key name
get_columns(@sqls)
get columns string
mk_compclass($helper, $file, @limited_file)
analyse DBDesigner 4 file and generate sqls, controllers and templates
SEE ALSO
DBDesigner 4 -- http://fabforce.net/dbdesigner4/index.php
Catalyst::Helper::Model, Catalyst::Plugin::CRUD, XML::Simple
AUTHOR
Jun Shimizu, <bayside@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2006,2007 by Jun Shimizu
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.2 or, at your option, any later version of Perl 5 you may have available.