Take it easy... bake a cake and REST
So I get updates when a new issue of PHP Architect is ready for download. Great resource. Browsing around their site I happened to come along a section entitled: REST and Resource Handling With CakePHP
A very informative article for me at this point in time. I've been grappling with a project in the back of my mind. The core aspects of the project are simply, site generation, from a template system, using a new cake MVC structure for each site registered, and using the same core cakephp system.
Well I have most of it worked out, however I have chosen to allow simple Custom Forms to be used, and needed a way to transmit this data back to the server. I didn't want to have to include a complete set of models and controllers. Simply build static pages for now. More functionality later on down the line in the next milestone.
RESTful transactions sure do seem like the way to go, especially since it may be multiple domains on one structure, however I'm not totally convinced that perhaps just sending the data via includes, and semistatic elements for the forms might not be the way to go. Including one controller and a model for the data collection might be best.
Any way, the articul is very well written, and goes a long way to helping explain the intricate details of REST and CakePHP. Hope you enjoy!


asddfs Said:
Well I have most of it worked out, however I have chosen to allow simple Custom Forms to be used, and needed a way to transmit this data back to the server. I didn't want to have to include a complete set of models and controllers. Simply build static pages for now. More 70-640 functionality later on down the line in the next milestone. RESTful transactions sure do seem like the wa