On Wed, 19 Sep 2001 12:30:50 -0700 (PDT) impersonator of
[EMAIL PROTECTED] (Bora Paksoy) planted &I saw in php.general:

>that PHP parses/compiles pages everytime a new request
>comes in. So, does this mean we have to minimize the
>amount of code per page (which also means to minimize
>number of includes) to improve response time? I mean,

This was my concern too, since this is a script language, and not
precompiled binary calls:((. I usually make it the compromize way: small,
simple (unlikely to be ever changed), although widely used functions, are
repeated inside every main script file; and big, less common, functions -
are _included_, for better maintainability/documentation. Don't know how
much it helps performance-wise though.
i Leonid

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to