Hi, 2009/9/8 Stefan Koopmanschap <[email protected]>
> This also > saves you from calling the use_helper() function, because classes are > autoloaded. > > It can be argued that the seperate methods are easier to read within > views (since views are supposed to be very light on PHP) however I > don't think that adding a namespace (classname) before helper > functions will make a view harder to read. > After reading that i'm imagining a helper system where symfony form helpers, link helpers, etc will be in helper classes. These classes can be inherited by AJAX, Lightbox link helper classes and use and extend codebase of the basic link helpers, etc. In this case you only have to change the class before the link_to() helper method to open your link in a lightbox instead. I think it will be a big win against the loss of longer helper calls in the template code. Szabolcs Heilig --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
