[consulting] Challenging an Assumption About What an Easy tpl.php Looks Like

Khalid Baheyeldin kb at 2bits.com
Mon Oct 12 03:08:20 UTC 2009


> Anyway, I'd be curious what other's opinions are on this.
>

I find it harder to read. It may be just what I am used to after 6 years of
Drupal.

I think php blocks are sometimes more readable than interspersed HTML and
PHP, but this is only when you have a lot of control statements and such. A
mere <?php print $foo ?> is acceptable to intersperse with HTML IMO.
-- 
Khalid M. Baheyeldin
2bits.com, Inc.
http://2bits.com
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/consulting/attachments/20091011/57790ec1/attachment.html 


More information about the consulting mailing list