Posted by Greg Donald on 04/30/05 05:37
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/
[Back to original message]
|