Hmm, does this make it hard to produce reusable forms in bundles which
others could then choose to take advantage of in their code without
rewriting the templates?

Re: forcing all messages into templates, it does sound like Symfony is
moving away from RAD in general in favor of a more thorough and
explicit approach to everything. RAD does tend to involve a lot of
magic with the negative consequences we've all seen that come up later
in projects when you try to understand what is going on. So this is
just an observation, not necessarily a criticism.

I still think there is value in the idea of form formatters, but I
suppose we could write our own if we want something like "echo $form"
for quick and dirty stuff (hey there is often a need for quick and
dirty stuff in practice).

On Sun, Mar 14, 2010 at 3:16 PM, Bernhard Schussek <[email protected]> wrote:
> In Symfony 2, the forms won't store any messages anymore. Labels, help
> texts etc. will have to be written in the template. Thus you  have
> full control over translating these messages yourself.
>
> The validation in Symfony 2 is handled by a seperate Validator
> component. Its meta data, i.e. validated classes, properties and also
> error messages can all easily be accessed. Parsing the meta data for
> error messages and writing the non-translated ones to a file should
> not be a problem.
>
> Bernhard
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> 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
>



-- 
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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