On Jul 4, 1:09 pm, "Francois Zaninotto" <[EMAIL PROTECTED] project.com> wrote: > As for the compatibility layer, due to the poor ability of PHP to > define functions dynamically, couldn't we imagine a code generator > that creates helper files in the cache with function helpers calling > their object counterpart? Something like the admin generator > mechanism...
I think someone would have to code it as well as imagine it... unless you've written a thought-to-PHP converter :-D > > That way, we would have: > > - ability to use object helpers > - ability to extend existing helpers > - ability to override existing helpers > - ability to use function helpers > - BC > - performance (through cache) > > What do you think ? > It's quite magic, but as long as it's reliable I like it because of the flexibility it allows. Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
