nate wrote:
"you should never have a situation where more than one controller would
need validation rules for the same model"

I agree, using MVC suggests a complete seperation of the M-V-C
components... in a perfect world. But we know that won't always hold
100% true.


"because only one controller should be manipulating the model."

In "classic" web applications I've written, multiple scripts manipulate
the same database table. Models represent db tables in cake, so
wouldn't it make sense for multiple controllers to access a single
model? Isn't that what the $uses variable is for?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to