One of the rules for reusable code is: Develop your application like 
webservice.

So I don't want to strictly bind controller with view. My idea is: 


   - controllers just returns json info (just like a webservice does), 
   - views calls that webservices, get the json and make html output.
   
In this way, reusability is to maximum. But... how can I realize that? 
Could be a good approch, developing pages rather than views, and inside 
that pages call the webservices previously developed.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to