Archive

Posts Tagged ‘performance’

Practical PHP Performance

May 12th, 2009 Gertjan No comments

When it comes to building web applications in PHP, performance isn’t typically a major concern. Features, usability and any business concerns are considered a greater priority, as they can be better demonstrated and visualised. Performance graphs don’t make the boss’s day.

So, why should you as a PHP developer, worry about performance? Quite a few reasons, in fact:

  • Efficient code gives you more flexibility with what you do with your application – for example, you can’t exactly throw in a thumbnailing routine if you’ve already maxxed your server.
  • Performance techniques generally line up with best practices, and while best practices are their own justification, they will save you time (and money!) in the long run.
  • On a high-scale application, performance graphs won’t make much of a difference. Still, informing the boss that, thanks to your performance efforts, you can cut server costs significantly, will definitely earn you some credit, and maybe even a raise.
  • Well written (and therefore efficient) are easier to debug.
  • Read more…
Categories: PHP Tags: , ,

PHP Benchmark

February 3rd, 2009 Gertjan No comments

PHPBench.org

PHPBench.org

When it comes to optimizing PHP for performance, there are endless resources available. PHPBench was constructed as a way to open people’s eyes to the fact that not every PHP script will run at the same speed.

Read more…

10 Advanced php tips to improve your programming

February 3rd, 2009 Gertjan No comments

Smashing Magazine comes up with a nifty list of 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

Because of PHP’s huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

Read more…