Er... Not sure if the generator syntax is the place for this debate. The
generator uses the form framework, and the form framework embarks
validation. So your question might better be: should validation be at the
model level or at the form level? And this question has been debated quite a
number of times, including in this mailing-list.

François

2008/9/30 Leon (sfExtjsThemePlugin) <[EMAIL PROTECTED]>

>
> Hi François,
>
> at the moment I have only one thought about it, and that is that
> validation in the generator might not be the best place for it.
>
> I think (and we have already a discussion about this here at google-
> groups) that validation should be done at the model-level. So you
> probably want to move the validators key from the generator.yml to the
> schema.yml
>
> Maybe there might be the need to override these validations from the
> schema in a module?? Although I think now this might be a bad habit...
>
> Same counts for credential checking.
>
> For the rest I agree with your syntax.
> Today I have updated my thesis for the last time (
> http://www.symfony-project.org/forum/index.php/m/61844/#msg_61844 )
> but now I will be busy with preparing my presentation before I can
> really start working on this.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to