News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anthony Ferrara's Blog:
On Optimization in PHP
August 10, 2011 @ 08:35:38

Anthony Ferrara has a new post to his blog today looking at something that's constantly a focus of user-facing applications, PHP ones or otherwise - application optimization. He specifically discusses handling it in PHP and some things to keep an eye out for.

When it comes to optimization, there are two competing viewpoints in the PHP community. Some say that optimization should only ever be an after thought and to avoid premature optimization at all costs. Others will say that this is impractical, and you should make your application fast as you write it, since then you won't have to go back and clean it up to make it faster. While I can understand the viewpoints of both sides, I am firmly in the former category.

He talks about the "90/10 Rule" of development (most of the work is done by only a small part of the code) and what that critical 10% could be made of. He also touches on the "60/40 Rule", "instinctual optimization" and the emphasis people put on benchmarks for their tool or framework of choice.

0 comments voice your opinion now!
optimize application opinion rule benchmark


blog comments powered by Disqus

Similar Posts

O\'Reilly: Designing a database-driven PHP App? Don\'t Forget the Data!!

Hasin Hayder's Blog: What is your favorite IDE/editor for writing code?

Zend Developer Zone: Debugging PHP applications with xdebug

Perforce Software: Seven Pillars of Pretty Code

Daniel Krook's Blog: Move from MySQL to DB2 via the Cloud


Community Events





Don't see your event here?
Let us know!


introduction podcast community api install language zendserver framework laravel interview opinion tips library deployment package release symfony list series update

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework