+1

I'd also like to have simple, static class methods as helpers.

In that case, autoloading can also be used (which is a huge step
forward compared to plain helper functions, having to call
use_helper() is an outdated concept, annoying and error-prone (hey
helper functions, sorry, I like you anyway ;-))

Being able to override this stuff is also a great advantage.

Sebastian

2008/5/8 naholyr <[EMAIL PROTECTED]>:
>
> By the way, having "Url::linkTo" instead of "link_to" wouldn't be such
> a pain (especially if you have a sfCompat10 option which still
> provides functions as wrappers).
> And this would permit overriding, if this is made like Model for
> example :
>
> .Symfony directory
> ...lib
> .....helper
> .......sfUrl.php <-- class sfUrl with all the Url helper methods
> .......Url.php <-- class Url which just extends sfUrl
>
> Which would allow to do like that to extend standard helper :
> .Project directory
> ...lib
> .....helper
> .......Url.php <-- my own version of Url helper, which extends sfUrl
> and maybe redefines or add some features :)
>
>
>
>
>
> On 8 mai, 22:08, Fabien POTENCIER <[EMAIL PROTECTED]
> project.com> wrote:
>> James wrote:
>> > Weird I thought I had read in the mailing list that they were not
>> > going to be.  Are some helpers being removed?
>>
>> The plan was to removed them and replace them with classes but we run
>> out of time to make it happen in 1.1.
>>
>> Fabien
>>
>>
>>
>>
>>
>> > James
>>
>> > On May 8, 2008, at 3:54 PM, Fabien POTENCIER wrote:
>>
>> >> Helpers are available in symfony 1.1
>>
>> >> Fabien
>>
>> >> --
>> >> Fabien Potencier
>> >> Sensio CEO - symfony lead developer
>> >> sensiolabs.com | symfony-project.com | aide-de-camp.org
>> >> Tél: +33 1 40 99 80 80
>>
>> >> James wrote:
>> >>> Hello,
>>
>> >>> I haven't started developing on 1.1 yet and probably won't for some
>> >>> time, but I am wondering what the thinking was behind not having
>> >>> helpers?  I personally really like them and find them handy for a lot
>> >>> of things.
>>
>> >>> Thanks,
>> >>> James
> >
>

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

Reply via email to