Re: Re: Templating engines
| From: | Greg Donald | Date: | Sat, 30 Apr 2005 02:37:27 +0000 |
| Subject: | Re: Re: Templating engines | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214256@lists.php.net to get a copy of this message | ||
On 4/29/05, Robert Cummings <robert@interjinn.com> wrote:
> Personally I find having the output ALWAYS begin after all business
> logic has completed to be a better choice
I agree totally. Most PHP coders I've worked around put PHP in their
HTML. I am the exact opposite. I use PHP to build up my HTML and
then output it at the very end of the script. I use heredoc syntax
almost exclusively. Seems very clean.
Drives me insane to see HTML with stuff like <?=$var?> all through it.
--
Greg Donald
Zend Certified Engineer
http://destiney.com/