note 112241 deleted from tutorial by aharvey
| From: | aharvey@php.net | Date: | Fri, 24 May 2013 18:10:08 +0000 |
| Subject: | note 112241 deleted from tutorial by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194936@lists.php.net to get a copy of this message | ||
Note Submitter: kumar at yahoo dot com
----
When it comes to templating in PHP, there are basically two camps of thought. The first camp
exclaims that "PHP is a template engine". This approach simply mixes PHP code with HTML.
Although this approach is fast from a pure script-execution point-of-view, many would argue that the
PHP syntax is messy and difficult to maintain when mixed with presentation. PHP works well for
programming, but not so well for templating.