On 10/22/07, sokol <[EMAIL PROTECTED]> wrote:
>
> 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.

I do agree.

By experience I know those template «markupped» languages have
limitations you sometimes have to bypass. In the end you have
templates with an ugly mix of templating language and real scripting
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.

+1

--
Grégoire HUBERT
Project Manager  - Sensio labs

http://www.sensiolabs.com/
http://www.symfony-project.com/

Sensio Labs
Tél: +33 1 40 99 80 80

> >
>


--

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