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

Martin Sikora's Blog: Storing arrays using JSON, serialize and var_export

Jani Hartikainen's Blog: Is commenting your code useless?

Joshua Eichorn's Blog: PHP Running on Java

Metapundit.net: Partial function application in PHP

Chris Hartjes' Blog: Better Remote Code Development


Community Events





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


series language install tool interview voicesoftheelephpant release community framework version security laravel opinion introduction library symfony update podcast composer package

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