Hi everyone, I'm new to CakePHP and find this set of tools very useful. I understand how to build an app when it's drived by a MVC approach (model, views, controlers created with the Console, w/i or w/o scaffholding or the default CRUD methods).
But I'm a bit confused when it deals with handling request not related to a model, or related to several models. For instance: 1/ Having a generic home page, leading to different pages and models (users profile, content admin) 2/ Having a stats module which displays (on one or several pages) statistics on data stored on several and unrelated model My idea, based on a non-MVC driven experience, will have to build a generic controler that will forward requests to different methods, depending on the parameters passed to the URI, ie something like "page.php?page=statistics&action=view&item=users" but applied to CakePHP. The problem is that I'm not sure it is correct, or in accordance with the CakePHP /MVC philiosophy. Have you already met this kind of problems ? How have you solved it ? Is there any white book or best practices concerning this ? Thanks for your help, Alex Devry 8) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
