CatalystX::Controller::ExtJS::Direct - Role to identify ExtJS::Direct controllers
version 2.1.5
package MyApp::Controller::Calculator; use Moose; BEGIN { extends 'Catalyst::Controller' }; with 'CatalystX::Controller::ExtJS::Direct'; sub sum : Local : Direct { my ($self, $c) = @_; $c->res->body( $c->req->param('a') + $c->req->param('b') ); } 1;
Apply this role to any Catalyst controller to enable Ext.Direct actions.
This attribute is for duck typing only and is always 1.
1
Moritz Onken <onken@netcubed.de>
This software is Copyright (c) 2014 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License
To install CatalystX::ExtJS::Direct, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::ExtJS::Direct
CPAN shell
perl -MCPAN -e shell install CatalystX::ExtJS::Direct
For more information on module installation, please visit the detailed CPAN module installation guide.