View Full Version : CakePHP Stack (Planned)
5 Nov 2009, 12:16 AM
I'm planning to develop a plugin or component for CakePHP to use with Ext.Direct. Any ideas on how to implement this? Where do you think should I route the requests, to the Controller or directly to the Model? I would like to keep it the Cake-way as much as possible. Like the use of $this->data.
Right now I'm rewriting the API.php for CakePHP. Found out there's a method listObjects() than can retrieve the available objects, be it models, controllers, etc.
If you have any ideas, kindly post them here.
29 Nov 2009, 5:53 AM
I wrote a basic implementation that works with vendor classes, not controllers.
My plan is to use requestAction method to get controller action result to return from direct router because models, components etc. are initialized automagically in controllers. Although cakephp book suggests not to use it, it is probably the most convient way to get final output without playing with the code much.
Another way is to implement a vendor class to contact with controllers but it is not native for direct web remoting tecnique because you would have to request to your controller actions by using a class as proxy.
23 Nov 2012, 4:11 PM
For people searching for a implementation, check out:
Bancha Project (http://banchaproject.org)
It integrates CakePHP with Sencha Touch and ExtJS, and does a lot for you out of the box.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.