If functionality can be put in Models, it should. Code in controllers should only be what responds and parses the user request - then it should execute code stored in models and components.
On Sep 2, 10:23 am, rtanz <[EMAIL PROTECTED]> wrote: > hi i have a module controller. the situation is that i want that > whenever a new module is added i will also create a new review and a > new membership. Now where should i place the 2 functions needed to > create a review and membership? Should i place them in the module > controller or in the review controller and membership controller, or > in the models? Sorry but im a bit confused about this and need some > guidance Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
