On 10/1/10 7:44 PM, Jordi Boggiano wrote:
On 01.10.2010 17:51, Fabien Potencier wrote:
I'm pretty happy with the result and the overall flexibility if gives.
As always, all comments welcomed.

Soo.. braindump while reading the docs page:

form|render* stuff feels a bit weird, I understand the concept but
it'd feel more natural to me to type form.render*(). Now I guess that
from a technical point of view, it's easier to handle with a filter
than to add Twig-specific stuff to the objects, so let's say it's ok.

Aside from that, it looks really great. I'm just not sure I get the
difference between render and render_widget though. Why couldn't you
use render_widget to do prototyping? Why would you use an inferior
variant just so that you have to change it later?

render_widget only renders, well, the widget (<input /> for instance)

render renders the "row" (<div>errors/label/<input /></div>)

Of course, you can use render_widget for prototyping too.

Cheers


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