Re: Re: Templating engines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/29/05, Robert Cummings <robert@xxxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux