Re: Re: Question about including files and server load
| From: | Greg Donald | Date: | Fri, 14 Oct 2005 18:11:42 +0000 |
| Subject: | Re: Re: Question about including files and server load | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224142@lists.php.net to get a copy of this message | ||
On 10/14/05, Dan Baker <dbefc@furiousgames.com> wrote:
> The concept is that only the code that actually gets executed is ever
> loaded/compiled. Pretty sneaky!
I think that's the general idea behind PHP's autoload():
http://php.net/autoload
Using a caching tool like APC or Zend Optimizer would be helpful in
this area too:
http://pecl.php.net/package/APC
http://zend.com/store/products/zend-optimizer.php
I think putting each function in it's own file is a bit drastic.
There are simpler ways to gain performance.
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/