Troy,

Thank you for the reply. I thought of doing that, but realized I would
have a conglomerate of validation methods that would get lugged around
throughout my application. I suppose I could use a naming scheme like:

validateModelNameFieldName()

but I don't want the controller to care at all about validating. The
regexp feature lets the model do all the validation and just notify the
controller. Which, from my understanding of MVC, is how it should work.
The controller shouldn't care *how* the model validates, it should only
care *if* the model validates.


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