The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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;

DESCRIPTION

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

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

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

SEE ALSO

CatalystX::ExtJS

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

CatalystX::ExtJS::Direct

Enable Ext.Direct in Catalyst controllers.