Hi,


On a busy site (where the milliseconds start to matter) the chances are that the operating system has your include files cached so the load time is probably not a factor. If you install some of the php token caching systems (zend and others) the speed is even better.

Gentlemen I do believe I have been misunderstood. What I meant was that there are ways in which you can save pounds perhaps by the bucketfull with possibly much less effort. For example I recently ran into a $1000 software where the most commonly used query was running against a table that had a non-numeric primary key. This same key was being used in multiple joins. Surely that can be optimized to get a huge gain in performance?



As to using header and footer includes I found that system really frustrating trying to follow the html. What I have switched to is templates where the site layout is a template and each php page generates the content and passes it one include file that does the final mix. this way my html developer has control over the html and can edit it as one file most of the time.

Processing templates also consumes a bit of extra clock cycles.


--
Raditha Dissanayake.
---------------------------------------------------------------
http://www.radinks.com/upload/ Drag and Drop Upload thousands of files and folders in a single
transfer. (HTTP or FTP)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to