Feeds

Microsoft arms half-wit developers with PHP handgun

PHP is legal. But it shouldn't be

Top three mobile application threats

The Perfect Fail

The great draw of PHP is that it allows less experienced programmers to solve small problems quickly, which is great for people who aren't in the business of making web applications. But when Microsoft starts telling people that they don't have to worry about scalability anymore, there is the potential for a Perfect Fail.

This will occur when both Microsoft and a team of PHP developers believe they are on the track to win, but the developers birth unto the world a social network for cats, a Twitter clone, or yet another content management system. The PHP developers have failed, well, because they're PHP developers. Microsoft has failed because they're acting as that unscrupulous dealer who provides PHP to people that probably shouldn't have access to it. Neither realize they've failed, which means they both fail at failing.

It's mathematically complete.

The most bizarre part of this whole circus is that Microsoft is warming up to open source. They are providing FastCGI on the Azure platform, which means that they are setting up to allow a wealth of different languages, provided they can get the runtimes working. If you've ever had to build C extensions to Python on Windows, you can join me in a feeling of satisfaction that someone at Microsoft is going to have to figure this out. Let's call it retribution for Internet Explorer 6.

Anyway, if you think about FastCGI on Azure, it's not too far of a leap. After all, it's an unnecessary protocol that could just as easily been replaced by persistent HTTP connections and requires a programmer to code his way around its model. It's about as much a pain in the balls as anything Microsoft could have come up with, so I'm glad to see them not reinventing the wheel.

What makes it even more Microsofty is that PHP's support for FastCGI is a comedy act of its own. FastCGI requires that you write your web handlers inside of a connection accept loop, allowing you to initialize any resources only once. This is clearly too hard for your average PHP professional, so FastCGI only keeps the interpreter running so you don't have to execute it every time there's a web request.

For those of you that aren't web developers, this is a bit like trying to kill a person with a rifle by clubbing them in the foot with it, hoping that the blunt end of the weapon will break the skin somehow, and your victim will die of an infection because he's in a place so remote that there's no access to antibiotics.

Microsoft has recognized a quality catastrophe in the open source world, and embraced it. It's a sick twist on collaboration, but at least it's a start.

This is an interesting affront to Google, who so far is only supporting programming languages for grown ups on App Engine. Much like an Englishman debating an American, Google is trying to keep the level of discourse high and sophisticated. Our American Microsoft, on the other hand, has just sucker-punched the Englishman in the mouth and yelled "YEAH WHERE'S YOUR VOCABULARY NOW?"

Like it or not, supporting PHP does attract a lot of developers. Microsoft is sure to see heavier adoption as development teams realize it's a waste of time for them to support everything from the website to the metal on the hardware. I'm going to watch this with trepidation.

But hey, it could be worse. They could be hosting MySQL. ®

Ted Dziuba is a co-founder at Milo.com You can read his regular Reg column, Fail and You, every other Monday.

Maximizing your infrastructure through virtualization

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.