Re: mixing HTML and PHP code

From: Date: Sat, 13 Jan 2001 00:56:11 +0000
Subject: Re: mixing HTML and PHP code
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-34342@lists.php.net to get a copy of this message
> Well, even if it wouldn't be that much of a problem, it still is easier with > templates. As you admitted, doing it with templates is cleaner, on the HTML > part. This can be important, if when you change layout often and have to > work with designers. Amen. :) Some of the HTML folks I deal with aren't even designers...they're just business people that read "HTML for Dummies", which is probably adequate for what they need to maintain, but I'm not going to try to teach them PHP and hope that they don't mess up my code in the process. > Of course, execution times are pretty slow (or worse, depending on > complexity). There are things that can be done to speed things up though...cacheing files at the page level, or even cacheing templated components at the sub-page level where possible can overcome much of the overhead of using templates. - Tim

« previous php.general (#34342) next »