Monday, February 28, 2011

Multiple "controllers" on a single page

Just wondering what the Cake PHP approach would be if one were
creating a single page that presented: a user list, recent posting
list and recent file upload list. Right now I have separate
controllers for each so I can view each item on its own page. How
would I use Cake PHP to present all of this data on one page? Would
one make a master controller that makes use of the other three or
break the controllers into components? And how could / can the views
for each item be re-used in such a situation?

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: