Changes for version 0.26
- fix bug in Iterator to test for !next() rather than !defined(next())
- re-set action in ::REST->default so that RPC-style template naming works
- use :Path instead of :Private on ::REST->default
- fix several bugs with action() set in ::REST
- ::Controller->form now calls NEXT::form. This is for REST compat and @INC oddness.
- added new ::ModelAdapter class and refactored base Controller to use it.
- moved make_pager() from base ::Model to ::Model::Utils
- added new ::Test classes to ease writing controller-agnostic tests.
- new, optional 'make_query' method in Controller.
- move AUTOLOAD() and can() hackery out of base Model into base Object where it belongs. Now there is only 2 sins instead of the 3 in previous releases (where we no longer monkey-patch the subs at run time).
- refactor tests to actually perform some CRUD.
- add ::ModelAdapter::File example.
- add envvar CXCRUD_TEST in base CX::CRUD to cluck() stack traces on exceptions. Mostly useful during testing since the ::Test::Controller now returns only the error.
- renamed 'buffer' to 'content' in ::Object::File.
- ::Model::File->fetch() will now always return an object even if it does not yet exist on the filesystem.
- change default create() method in Controller to call methods directly instead of forward()ing.
- add create() method to REST that just redirects to create_form().
- change from 'use NEXT' to 'use Class::C3'
- added support for "x-tunneled-method" param to REST controller in addition to "_http_method". This is for compat with Catalyst::Request::REST::ForBrowsers.
Documentation
step-by-step through CatalystX::CRUD example app
Modules
CRUD framework for Catalyst applications
base class for CRUD controllers
generic iterator wrapper for CXCM iterator() results
simple iterator for CXCO::File objects
base class for CRUD models
filesystem CRUD model
helpful methods for your CRUD Model class
make CRUD Controllers work with non-CRUD models
filesystem CRUD model adapter
an instance returned from a CatalystX::CRUD::Model
filesystem CRUD instance
REST-style controller for CRUD
mock controller class for testing CatalystX::CRUD packages
mock form class for testing CatalystX::CRUD packages