On Oct 16, 2:22 pm, "Lucas Stephanou" <[EMAIL PROTECTED]> wrote:
> 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.

As Brian Lozier wrote (http://www.massassi.com/php/articles/
template_engines/):
"The point of template engines should be to separate your business
logic from your presentation logic, not separate your PHP code from
your HTML code"

So, you are talking about syntax, but not about separating logic from
view in which Symfony is very good! The difference between template
engines is their syntax and features. So, choose of some template
engine is a subjective sentiment.

I choose PHP because:
1. PHP syntax is accustomed for me and I know it very well.
2. PHP is most powerful template language.
3. My IDE works with PHP well.
4. Speed efficiency is very good (and if not, it could be improved
with caching)

Choosing different template engine you have to learn new "markupped"
language which usually is not simpler than programming language.

My pint is that templates are not for designers but for coders, who
already knows PHP, so there is no need to create something else.


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