> That's what I was basing on, and the post that I linked where you can see > for example Larry recommending to take out $uses in AppController.
The reason I recommended not using var $uses in the AppController in prior releases of cake was you would have to redefine it in all child classes. With the current release this is no longer an issue, the child class will "inherit" the $uses from AppContorller without overwriting the child classes $uses or if you have not defined $uses it will expect the Model related to the child class. I still believe it is better to make a component when a model is to be used > from AppController. I want AppController to deal with stuff that is > general > to all controllers, and when that stuff involves model interaction I > prefer > to use components. Components should be used by a controller to alter data the controller sends to it, not interact directly with the models. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
