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

Lukas Smith: On predictable PHP release cycles

Samuel Levy: PHP is the right tool for the job (for all the wrong reasons)

Chris Hartjes' Blog: "Refactoring Legacy Applications Using CakePHP" is now available!

Symfony Blog: Is symfony too slow for real-world usage?

Amir Saied's Blog: Net_SmartIRC & phpbitch


Community Events





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


conference code voicesoftheelephpant community bugfix laravel language framework symfony zendserver tips series release threedevsandamaybe api list introduction interview podcast deployment

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