Excited About PHP Again

« »

Ten months ago when I started at Mozilla, I began transitioning away from PHP and into Python and Django. This was inevitable: the Mozilla Webdev team favors Python over PHP in almost every webapp (Socorro is the critical exception). However, over time I had become disillusioned with the direction that PHP was taking. The project seemed stalled, lost in the woods, drifting on a sea of uncertainty.

After seeing Rasmus Lerdorf speak about the future of PHP for 2012, my perspective has changed dramatically. You can see his talk here.

PHP has a lot going for it. It still runs huge chunks of the web. PHP 5.3 revolutionized many parts of PHP, improving Windows performance 40% and overall performance 5% – 15% over previous benchmarks. It introduced tons of new features, lining PHP up against some of the best web languages available. PHP 5.4 continues to build on this accomplishment, adding traits, improving speed and reliability, creating new ways to test code, and improving on the features introduced in PHP 5.3. The future is bright indeed.

Rasmus also answered many of my long-standing questions about the project: why it’s loosely typed, why we don’t allow type hints for interchangeable types, and about the overall intent of the project when he first formed it. Over time, the language has changed, but it remains true to it’s foundations as a web language, and it powers an enormous chunk of the web as a result.

The coming release of PHP 5.4 seems like a turning point in the overall development of the language, and I’m excited about the new features that are coming. While it won’t address every concern I have about PHP or even introduce all the features I think are critical, it does show movement in the right direction.

Brandon Savage is the author of Mastering Object Oriented PHP and Practical Design Patterns in PHP

Posted on 2/2/2012 at 10:23 pm
Categories: General PHP, Software Development
Tags: , , , , , , , ,

Goran wrote at 2/3/2012 4:30 am:

“After seeing Rasmus Lerdorf speak about the future of PHP for 2012, my perspective has changed dramatically.”

Is it somewhere on the web, and if it is, can you point to the location?

John (@johnpaulhayes) wrote at 2/3/2012 4:33 am:

Hi Brandon,

I would have loved to hear that speech. Do you know if the main points have been transcribed anywhere on the net?

–John Paul

Brandon Savage (@brandonsavage) wrote at 2/3/2012 11:14 am:

I’ve updated the post with a link to the recorded talk. The slides are available too, link in the presentation.

Goran wrote at 2/3/2012 2:36 pm:

Thank you! :)

« »

Copyright © 2024 by Brandon Savage. All rights reserved.