It doesn't have to be a more complex syntax if you don't want it to
be.  There are a lot of benefits by keeping everything object
oriented.  The current helpers could even be rewritten for a plugin to
provide the same functionality with the same simple interface.  Even
the form framework could be integrated with traditional helpers so
that a helper like input_tag() is just a mask on top of
sfWidgetFormInput() for simplicity.

On Jul 2, 10:27 am, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 2, 2008 at 3:08 PM, Jacob Coby <[EMAIL PROTECTED]> wrote:
> > Besides, what makes $h['url']->url_for() better than url_for()?
> > Namespacing?  That can be done by adding your namespace before the
> > function name - my_url_for().  It just seems like a whole lot of
> > typing for really common functions for not much benefit.
>
> I agree, I can't really see any added value but a more complex syntax
> here. Tristan, have you got a concrete example of where it could help
> (besides namespaces) ?
>
> ++
>
> --
> Nicolas 
> Perriaulthttp://prendreuncafe.com-http://symfonians.net-http://sensiolabs.com
> Phone: +33 660 92 08 76
--~--~---------~--~----~------------~-------~--~----~
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