My own answer to this question is YES, but I'd like to hear from others. Put another way the question could be: Would the success of 1-click-install WordPress (not WordPress.com, which is SaaS) be possible if it weren't written in PHP, all other things being equal?

The critical associated requirements I believe support PHP are:

  1. hosting/deployment flexibility
  2. developer reach
  3. flexibility and depth of knowledge around server performance tuning

Items #1 and #2 are equally critical, and both are far more important than #3.

FWIW, I'm not a particular fan of PHP - can anyone truly be? - but the goals of re-deployment and extensibility point wherever they point. Please, please do not pollute this space if you do not grok the question. This is not about PHP and it's relative merits, or lack of merit, compared to other programming languages out of context. I am looking for insight specifically around language choice as it relates to deployment/uptake/extensibility strategy as outlined.

Thanks.

Comments

Ruby on Rails is gaining in popularity last I checked. Trendy language, growing developer reach.

Written by fennec

In my experience, PHP web hosts often suffer from overcrowding. So if you run a big-ish php application, performance can be an issue.

Written by Seth

That's a good point Seth - something to consider seriously re:code structure/optimization for an app with these requirements. Amazing - memory expands and processors get faster, but the need to consider performance never goes away.

Written by Chip Kaye

Accepted Answer

As far as points #1 and #2 go, you are probably right. No other platform is so widely, easily and cheaply available in terms of hosting companies and packages like the LAMP stack. Plus, most incompatibilities that can occur when deploying an application to a completely unknown web space are well documented, their number is limited, and can mostly be checked beforehand (register_globals, safe mode, allocated script memory, etc.)

If I were thinking about developing a web application that I want to see spreading as quickly and as far as possible also among non-professionals and end users, PHP would be my platform of choice for these reasons. I must add that I am deeply familiar only with the hosting market in Germany, but I'm quite sure the basic characteristics are the same.

As for developer availability: People who claim to be able to speak PHP are easy to find. Those who will actually do a good job for you, less so. Still, I think it is safe to say that PHP developers are easier to find than, say, Pythonists or Ruby developers.

I don't expect this to stay this way forever, though. Other languages are gaining popularity, and in the end, developers and which languages they like influences the hosting market massively in the long term.

Written by Pekka
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki