When I did the smarty plugin, I was also considering doing a phptal plugin instead. I like their idea to have a template in a way where you can use a wysiwyg editor. I decided against it because of
* I don't know any designer who know or want to learn phptal * Smarty has/or had at this time a better documentation for this kind of development * Most of the symfony helpers produce html code, which somehow leads the usage of wysiwyg editors at absurdum * *I* am used to smarty ... Interesting thought, to use the template language as a preprocessor, rendering the template into php symfony template, if I understand Kiril correctly. Maybe I should rethink my approach, I am afraid it would not be easy with smarty, but would be probably a little bit faster. Cheers Georg Kiril Angov schrieb: > The phptal plugin on this page > http://tracfort.jp/projects/symfony-phptal/wiki is already 2 years old > so you will be better off taking the Smarty plugin as an example (this > is what the phptal plugin did). > > I can suggest that you think in terms of how to compile the php tal > template into PHP and then pass it to the native sfPHPView class. This > way you will not need to do anything special with initializing helpers, > globals, etc. I am not very familiar with the way phptal works but I am > sure there is a way to compile it to PHP. If you go in that direction > you can also take a look at sfHamlView as that's exactly how it works. > > Kupo > > commercemeister wrote: >> It has been pointed out that this really is a plugin discussion and >> should be discussed on the users list, not the developers. >> >> While Symfony can and does support many template engines, I'd like to >> find a consensus (among those who feel an additional templating engine >> is necessary) to actually develop and somewhat-standardize on one >> specifically for use when porting HTML templates. >> >> I sense a larger development project than "just" integrating PHPTal or >> Flexy, specifically adding the sf: namespace for plugins and specific >> Symfony functionality and possibly coming up with a specific syntax, >> and either documentation or creating specific "best practices" for >> common needs (using symfony's support for features instead of the >> native engines support for the features, etc) >> >> - getting together a list of people interested in developing an >> alternate view-layer plugin: please email me directly >> [EMAIL PROTECTED], and / or be sure you're on the symfony- >> users list >> >> - releasing the current Flexy code plugin (I'll post when it's up) >> >> - Is there current english documenteation of the PHPtal plugin: >> http://tracfort.jp/projects/symfony-phptal/wiki >> (though I can probably figure it out from the code) >> >> Nick >> >> >> >> >> >> On Oct 16, 7:22 am, "Lucas Stephanou" <[EMAIL PROTECTED]> wrote: >> >>> Hello dev's, >>> >>> I'm here to start a thread about template system. >>> >>> Today symfony doesn't use natively a template system to render presentation >>> layer. >>> IMHO, the genshi project[1], used in trac 0.11[2], is more efficient output >>> generator and I'm working with it in some plugins to internal use here in my >>> job. >>> All php options( OPT, Smarty, Haml port) that I knew isn't simple, clean, >>> and powerful, this in my opinion. >>> >>> Well, What you think about? Is PHP a equivalent option? Start a similar >>> genshi project in PHP? >>> >>> [1]:http://genshi.edgewall.org/ >>> [2]:http://trac.edgewall.org/milestone/0.11 >>> >>> -- >>> Lucas Stephanou >>> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
