Posted by Areric on 12/18/30 11:50
Agree with Colin, why bother doing something if you don't do it right.
If your company is anything like mine 3-4 months down the road (just
when you forget what you did) a user will ask for an upgrade and youll
be stuck trying to figure out what you did or why the hell you did it
that way.
Colin McKinnon wrote:
> 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]
|