Reply to Re: [PHP] Re: Templating engines

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация