Hi KN, I think it's time to dive into the code and try it out ;). I don't know exactly your intentions but what you describe seems fine in principle.
Some thoughts 1) Components allow for reusability between unrelated controllers. If (IFF) your components are only used inside one controller, it may well be better just to put the 'component' code in a private method of your controller and call it from the relavent method. 2) You may find that using RequestAction is easier to deal with. In this case you would design a controller/view for each of your sections, and then in your home page you would make the relavent calls to generate the whole output. This would mean that for testing (if nothing else) you could directly access your sections, and the home page is just collating - and barely contains any logic (just enough to generate the correct parameters for the request action). See http://wiki.cakephp.org/docs:controller:requestaction if you wish to investigate this, and more references http://www.cakephp.org/search?q=requestaction. Happy coding, AD7six --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
