CatalystX::ExtJS::REST - Feature-rich REST controller for use with ExtJS


Back to Top


NAME

CatalystX::ExtJS::REST - Feature-rich REST controller for use with ExtJS

Back to Top


VERSION

version 2.1.1

Back to Top


SYNOPSIS

 package MyApp::Controller::User;
 
 use Moose;
 BEGIN { extends 'CatalystX::Controller::ExtJS::REST' }
 
 __PACKAGE__->config( default_resultset => 'User',
                     forms             => {
                              default => [
                                  { name => 'id' },
                                  { name => 'email', constraint => 'Required' },
                                  { name => 'password' }
                              ],
                     } );
 
 1;

Back to Top


DESCRIPTION

This module adds feature-rich REST controllers to your application.

the CatalystX::Controller::ExtJS::REST manpage gives examples and describes all configuration options.

Have a look at the tutorial which shows integration of this controller with the CatalystX::ExtJS::Direct manpage.

Back to Top


SEE ALSO

the CatalystX::ExtJS manpage

Parent namespace. Includes examples and the code for the tutorial.

the CatalystX::ExtJS::Direct manpage

Enable Ext.Direct in Catalyst controllers.

Back to Top


AUTHOR

Moritz Onken <onken@netcubed.de>

Back to Top


COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Moritz Onken.

This is free software, licensed under:

  The (three-clause) BSD License

Back to Top

 CatalystX::ExtJS::REST - Feature-rich REST controller for use with ExtJS