Reply to Re: Question on using HTML within PHP documents

Your name:

Reply:


Posted by Colin McKinnon on 12/18/49 11:50

adlerweb wrote:


> Browsers just get the output of the script - they dont care how it is
> generated so if there are any browser-problem they are also in your
> HTML-only-code.
>
> Many people separate HTML and PHP-Code because its easier to maintain.
> However - its your choice. Visitors will not see a difference
>

It *does* matter. Program code isn't written for computers to understand -
its written for people to understand. This kind of thing makes maintaining
the code very difficult and fraught with errors. You don't need a
templating system to seperate the HTML from the application logic - but
that doesn't mean you SHOULDN'T seperate the two.

C.

[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

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