Mojolicious::Plugin::DBICAdmin - Web interface for DBIx::Class Schema/ResultSource/ResultSet
version 0.0006
This Plugin just for Web master view/search their data in DB
In Mojolicious App's startup method:
startup
$self->plugin('DBICAdmin' => { condition => 'login', # optional stylesheet => '/dbic-admin-pure.css', #optional # ... other configurations });
#start app and view the URI : http://yourapp.domain/admin/dbic/
You will see it, when you open URI : "admin/dbic/"
the Plugin set following routes :
/admin/dbic/
Index of the module's function
/admin/dbic/search
/admin/dbic/search/:source
Search DBIx::Class drivered database
/admin/dbic/info
/admin/dbic/info/:source
List Result Source Class's columns info
/admin/dbic/list
List Result source loaded by DBIx::Class
Plugin use purecss
you can use customed theme of purecss by pass config directive : stylesheet="/dbic-admin-pure.css"
stylesheet="/dbic-admin-pure.css"
customlized theme of purecss must use name : .pure-skin-dbic
.pure-skin-dbic
where to coustom the theme ?
Here
rows displayed per page
theme of the web page, should be the url of css file create by YUI Skin Builder
array or scalar if single of Mojolicious route condition used for access control
DBICAdmin - Web interface for DBIx::Class Schema/ResultSource/ResultSet
ChinaXing(陈云星) <chen.yack@gmail.com>
This software is Copyright (c) 2013 by ChinaXing(陈云星).
This is free software, licensed under:
The (three-clause) BSD License
To install Mojolicious::Plugin::DBICAdmin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::DBICAdmin
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::DBICAdmin
For more information on module installation, please visit the detailed CPAN module installation guide.