What is the best templating engine in PHP environment? A serious question to which I knew so far also not such a right answer. So far I'm using Smarty went very well.
However Smarty also has its weaknesses when it comes to such performance.
Of course there is always the possibility of a complete templating engine to give and easy to use plain PHP. Rasmus Lerdorf describes it in his infamous article
"The-no-framework PHP MVC framework" .
Fabien Potencier, the lead developer of the symfony framework has templating engines in PHP
just wrote the article that I've been looking for.
He compares the following engines
- Twig
- PHPTAL
- Dwoo
- Smarty 2
- Smarty 3
- Calypso
- eZ templates
and comes to the conclusion that Twig of all tested best cuts. Well, if a little self-promotion as well with it's game?

It's quite in here! Why not leave a response ?