I agree with Jacob remark, it would be strange to modify a feature that most
people use very often just to make its syntax more uncomfortable.

I can't understand what goes wrong with helper for now, except concerning
their "non-object" nature.

Moreover, to me, something called a widget doesn't sound at all like a
helper-like, but more like a what is currently called a component.

in fact, according to what is called "widgets" everywhere outside symfony
-MacOS, Compiz, Google-stuff- would be more like a AJAXified-component that
could be included very easily in any symfony web page, just by a doing
something like :

sfWidgetManager::include('WidgetName');

But that's just a personnal digression :-). The main point here is that it
seems quite dump to me to complexify something that just works for now, if
it's not to add something important to it.

Nico

as usual, sorry for my english


2008/7/2 Jacob Coby <[EMAIL PROTECTED]>:

>
>
> On Jul 2, 2008, at 5:37 AM, Tristan Rivoallan wrote:
>
> >
> > On Tue, Jul 1, 2008 at 6:36 PM, Slick Rick <[EMAIL PROTECTED]>
> > wrote:
> >> Hey List,
> >>
> >> I was reading the roadmap for 1.2 today and I didn't see anything
> >> related to
> >> the conversion of traditional helpers into new widgets.   I know we
> >> eventually want to move all helpers into an object oriented state,
> >> and I
> >> would love to see this happen.  Do we have any plans for this? I'd be
> >> willing to set some time aside to help out on this if its something
> >> we want
> >> to work toward.  Thoughts?
> >
> > this subject was previously discussed (without any solution found ;) :
> >
> http://groups.google.com/group/symfony-devs/browse_thread/thread/564bece688f08fa2/614e3fce6b1b6ebd
> >
> > better luck this time ?
> >
> > i like the "$h['helpername']->feature()" idea.
>
>
> But why!?
>
> Helpers are supposed to be easy to use and should be geared towards a
> web designer or someone without a lot of PHP experience.
>
> 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.
>
> --
> Jacob Coby
> [EMAIL PROTECTED]
>
>
>
>
> >
>

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