Re: design of forum applications
| From: | Ilia A. | Date: | Thu, 15 May 2003 17:22:11 +0000 |
| Subject: | Re: design of forum applications | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16315@lists.php.net to get a copy of this message | ||
On May 15, 2003 12:57 pm, Hans Lellelid wrote:
> I think
> the real problem here is that performance plays far too great a role in the
> design and implementation of PHP applications. To do the job right usually
> means building an application that performs poorly.
I strongly disagree with that point, I do not believe that something which is
properly designed should be slow. In fact, proper implementation would not
only satisfy stylistic concerns but also performance concerns. Bloat is by no
definition of the word a good design.
> This is true in
> environements besides PHP, but the requirement that an app's lifecycle be
> run to completeion while the user waits for a page to load is pretty
> demanding. I hope that better & easier solutions in the way of bytecode
> compilers and application sessions will make for some higher-quality PHP
> products.
Bytecode compilers do help, because PEAR classes for the most part tend to be
rather big monsters (100k Common.php in MDB). However, the code itself still
needs to be executed and if it is inefficient all the opcode caches &
bytecode compilers in the world won't help you.
Ilia