Bancha automatically enables CakePHP to understand and process ExtJS Requests, even request batching. To keep development DRY just add the Behaviour Bancha.BanchaRemotable to each model, which should share their Schema with the frontend.
For all CRUD Requests Bancha just uses the standard CakePHP Controller methods, no separate methods are needed.
Bancha provides a simple interface to create models. These models get all fields, validations and associations and a fully configured proxy from the server.
Out of the box they also support remote sorting, filtering and paging.
Just use Bancha.onModelReady('User', cb); and Bancha does the rest.
For more Information:
- follow us on twitter @banchaproject
- read our dokumentation
- read the JS API Docs
- get the code