Re: Question about including files and server load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jay,

Friday, October 14, 2005, 2:21:57 PM, you wrote:

> I was wondering isn't this putting a bigger load on a server by
> including so many files for each function? Also, I was wondering
> what everyone's opinion was on this approach in terms of
> maintenance. Do you think it's better practice to put all your
> functions in one file or do it in this manner?

How many are there? I don't use functions in that way, but I do a
similar thing for class files (minus that "definedfucntions" part of
course).

You could of course combine them all together, and yes it *would* be
faster for the script to execute as there is far less drive activity
going on. But then it's a trade-off between maintaining that single
massive file, as opposed to updating smaller chunks. If it's a real
issue looking at something like Zend Encoder would help.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.launchcode.co.uk

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux