News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Eli White's Blog:
In Response to Fabien Potencier Twig & PHP Templating
October 08, 2009 @ 10:31:06

Eli White has responded to Fabien Potencier's earlier post about templating languages in PHP with some of his own thoughts on the matter. Mainly that he has only a few exceptions to the comments Fabien made.

It's a good article, and I highly recommend that you all go read it. But I took a few exceptions to some of his arguments against PHP as a templating language itself, I think he grossly undersold PHP-as-template in his enthusiasm to promote his new templating language that he created.

Eli touches on four points of disagreement with Fabien's post - how verbose echoing a variable can be, how verbose the escaping of output can be, making control structures easy to read and how complex the templating language can get (quite quickly). He ends it by talking about one thing that PHP by itself can't give you but a templating language could - sandboxing (in agreement with Fabien's comments).

0 comments voice your opinion now!
template opinion twig


blog comments powered by Disqus

Similar Posts

KnowledgeTree Blog: Why PHP Doesn't Suck

International PHP Magzine: Poll Question: Which is the Most Powerful PHP Tool?

Anna Filina's Blog: Podcast About Sexism in Tech: What I Learned

ZDNet Australia: If PHP then goto is the future

OnStartups.com: Why PHP Is Fun and Easy But Python Is Marriage Material


Community Events

Don't see your event here?
Let us know!


language framework unittest php7 introduction example series laravel library podcast extension version community voicesoftheelephpant release interview opinion api laravel5 wordpress

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework