Thomas Rabaix wrote:
> The original propel project handle validation at the Model level. This
> feature has not been kept on symfony, don't know why ...

Firstly, please don't cross post! :)

Secondly, whilst I don't know why it was not done this way - but 
validating things in the model doesn't always make sense.

For example, it might be a requirement that usernames are 6 or more 
characters, but an admin creating a user should be allowd to bypass 
this.   Also when you're validating groups of models, that each might 
validate on their own, but as a group would be invalid...

Maybe the feature was not kept for these kind of reasons, I'm not sure.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to