Re: long echo statement performance question
| From: | Stephen | Date: | Fri, 06 Feb 2009 23:04:15 +0000 |
| Subject: | Re: long echo statement performance question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287865@lists.php.net to get a copy of this message | ||
I have been reading this thread with interest ... and amusement.
FWII for my web sites I have
1) Most PHP code in files outside of the document root
2) Site specific variables (constants, really) in an include.php file
3) All HTML is also in this include file and is the content a variable.
4) Nested in the HTML code are variables for the content, like the menu and body text
5) All presentation is done using CSS
6) Each page just has PHP code (mostly function calls) where the content variables are built
7) Finally the content variable is echoed.
Stephen