News Feed
Sections




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

Padraic Brady's Blog:
Is PHP A Worthy Template Language? Well, of course it is...
October 13, 2009 @ 08:29:26

Padraic Brady has posted his own response to the post from Fabien Potencier about templating in PHP applications and disagrees by saying that PHP is most definitely a worthy template language.

Fabien's article triggered the urge once again to challenge the status quo, the continued view of something in PHP being necessary when in truth it simply isn't. The article takes that view to extremes, going to some effort arguing against the recent slide towards templating with PHP with arguments which are so biased as to misinform readers.

Padraic rants a bit on both the content of Fabien's article and his approach to the topic (more of a debate tactic than anything) and looks at a few return arguments against Fabien's comments:

  • The PHP language is verbose
  • The PHP language is not very readable
  • The PHP language is less secure than a templating language
  • The PHP language does not offer template inheritance

He also briefly looks at Twig's performance numbers based on a set of benchmarks he's created.

0 comments voice your opinion now!
template language twig


blog comments powered by Disqus

Similar Posts

PHP.net: PHP 5.5.0RC1 is available

Gonzalo Ayuso's Blog: PHP Template Engine Comparison

Zend Developer Zone: The HYSOCAMTT templating approach

PHP.net: PHP 5.4.15 and PHP 5.3.25 released!

Volker Dusch: If it's not written in PHP it's irrelePHPant!


Community Events





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


community podcast introduction code release language refactor laravel install series experience threedevsandamaybe developer testing framework list interview unittest symfony2 opinion

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