Do you use a template engine in PHP?
4 comments
Whenever I try to use a template engine, I end up putting too much view logic in the controller. So we just use PHP files (with the .phtml extension so you know what's up). It's the default way for the Zend Framework.
Haanga hasn't been touched in 7 months.
Check out Twig: http://twig.sensiolabs.org
Check out Twig: http://twig.sensiolabs.org
Yes I can see Haanga hasn't been touched, but it still using in Menéame. I'm going to check Twig too, thanks.
I use Blade inside of Laravel. Very light weight.
It is a template engine for PHP, like Django, its cache system is pretty good and Menéame (meneame.net, which has a lot of traffic) has been using for a long time.
I think that using Haanga may help me to be more organized.
What do you think?
Thanks in advance.