Changes for version 2.0.0 - 2011-01-31

  • pass 'object' or 'list' to the default_rs_method as second parameter
  • limit of rows to fetch is now 100, set limit => 0 to disable
  • order_by specifies the default column to sort (e.g. { -desc => 'updated_on' })
  • silenced test warnings
  • forms can now be defined in the class itself (forms => { default => , get => , list => })
  • added tests and documentation
  • bump prereq versions
  • fixed Ext.Direct create with only one attribute
  • don't ship extjs, using CDN for examples and tutorial instead
  • using ExtJS 3.3.1 in examples and tutorial
  • catch exceptions in Controller::REST and send a 400 bad_request status to the browser including a message and success: false
  • Ext.Direct will send an exception if the response status of the subrequest is >= 400 The response includes the status of the subrequest as well as $c->error or the body
  • status_not_found also includes success => 0 in it's response
  • request trait application moved to Deserializer action class
  • added namespace option to /api/src

Documentation

Modules

Skip deserialization for uploads
Mark an action as REST endpoint
Handle responses from uploads
Enable Ext.Direct in Catalyst controllers
API and router controller for Ext.Direct
Controller for the ExtJS ImageChooser class
RESTful interface to dbic objects
Collection of modules for ExtJS
Introduction to CatalystX::ExtJS
Introduction to CatalystX::ExtJS::Direct
Sets the request method via a query parameter

Provides

in lib/CatalystX/Controller/ExtJS/Direct/Route.pm
in lib/CatalystX/Controller/ExtJS/Direct/Route.pm
in lib/CatalystX/Controller/ExtJS/Direct/Route.pm
in lib/CatalystX/Controller/ExtJS/Direct/Route.pm

Examples