CatalystX::ResourceProvide CRUD functionality to your Controllers | |
Download |
CatalystX::Resource Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- David Schmidt
- Publisher web site:
CatalystX::Resource Tags
CatalystX::Resource Description
CatalystX::Resource is a Perl module that enhances your App with CRUD functionality.After creating files for HTML::FormHandler, DBIx::Class and Template Toolkit templates you get create/edit/delete/show/list actions for free.Resources can be nested. (e.g.: Artist has_many Albums)You can remove actions if you don't need them.Example, you don't need the edit action: 'Controller::Resource::Artist' => { ..., traits => , },Using the Sortable trait your resources are sortable: 'Controller::Resource::Artist' => { ..., traits => , },SYNOPSIS use Catalyst qw/ +CatalystX::Resource /; __PACKAGE__->config( 'Controller::Resource::Artist' => { resultset_key => 'artists_rs', resources_key => 'artists', resource_key => 'artist', form_class => 'TestApp::Form::Resource::Artist', model => 'DB::Resource::Artist', error_path => '/error', actions => { base => { PathPart => 'artists', }, }, }, 'CatalystX::Resource' => { controllers => , }, );Product's homepage
CatalystX::Resource Related Software