I think that is a good solution. And the problem with a tutorial on this is there are many different ways to skin the cat. The thing I like about this solution \ example given is that it keeps User code and Profile code seperate still. Instead of calling $this->Profile->save directly in your User controller. Now, 9 times out of 10 you aren't doing anything special, but if you ever needed to then you would want the seperated out add method in the Profile controller. So, that is a very good coding practice that is overlooked. Now in terms of the dispatcher I don't remember whether a direct method call or a requestaction is better in terms of least steps in dispatcher land.
I think what most novice bakers need to focus on is good CakePHP coding practices. To make sure that you don't abuse the flexibility of CakePHP. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
