Dezi::Admin::Config - Dezi administration UI configuration
use Dezi::Admin::Config; my $dac = Dezi::Admin::Config->new( user_config => { username => 'myuser', password => 'secret', auth_realm => 'the dezi admin area', extjs_url => '//uri.for/extjs/4.1.x', debug => 1, }, searcher => $dezi_server, base_uri => 'http://yourserver/dezi', );
Dezi::Admin::Config is used internally by Dezi::Admin to instantiate the various components (UI, API, etc) that make up the application.
Returns a new Config object. args should be a hash with keys including:
Hashref as passed to Dezi::Config->new(). May contain a key called admin with values like:
admin
A Dezi::Server-like instance.
The base URI for the Dezi instance.
The authenticator() method will return a CODE ref for passing to Plack::Middleware::Auth::Basic.
Returns an instance of Dezi::Admin::UI.
File path to where static assets are stored. These include .css and .js files.
Returns an instance of Dezi::Admin::API.
Returns the object as a plain Perl hash of key/value pairs.
Peter Karman, <karman at cpan.org>
<karman at cpan.org>
Please report any bugs or feature requests to bug-dezi-admin at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-Admin. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dezi-admin at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dezi::Admin
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dezi-Admin
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dezi-Admin
CPAN Ratings
http://cpanratings.perl.org/d/Dezi-Admin
Search CPAN
http://search.cpan.org/dist/Dezi-Admin/
Copyright 2013 Peter Karman.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Dezi::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dezi::Admin
CPAN shell
perl -MCPAN -e shell install Dezi::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.