RE: [PEAR-DEV] design of forum applications

From: Date: Thu, 15 May 2003 19:12:56 +0000
Subject: RE: [PEAR-DEV] design of forum applications
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16321@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. I didn't say bloat = good design at all; what I said though, is that writing a well-architected script is going to be slower. I'm not talking about avoiding bloat or simply writing code with speed in mind -- those are givens IMO. I may be using a definition of "well-architected" that you may not agree with: specifically, abstract, tiered application design. Creating abstract code is simply going to run slow in PHP -- function calls and object instantiation carry a significant performance price. And when you factor in things like template parsing, db abstraction, etc. you have additional overhead that wouldn't be "necessary" in a fast-n-dirty PHP script. Hans

Attachment: [application/x-pkcs7-signature] smime.p7s
« previous php.pear.dev (#16321) next »