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.
Navigation:
[Reply to this message]
|