NAME

Dezi::Admin::UI - Dezi administration UI application

SYNOPSIS

use Plack::Builder;
use Dezi::Admin::UI;
my $ui_app = Dezi::Admin::UI->new(
   debug       => 0,
   base_uri    => '',
   extjs_uri   => '//cdn.sencha.io/ext-4.1.1-gpl',
);
builder {
   mount '/' => $ui_app;
};

DESCRIPTION

Dezi::Admin::UI provides bootstrapping HTML to the ExtJS application. Dezi::Admin::UI is a Plack::Component subclass.

METHODS

prepare_app

Override base class to set default extjs_uri() value.

default_page

Returns the HTML string suitable for the main UI. It uses the jQuery-based examples from dezi.org.

call( env )

Implements the required Middleware method. GET requests are the only allowed interface.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Dezi::Admin

You can also look for information at:

COPYRIGHT & LICENSE

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.