The power in PHP is that many web problems are pretty much already solved in software written in PHP. With WordPress or Drupal you have a largely complete solution for many web projects, and the source and/or structure is there to add on the pieces if needed.
Particularly with small web projects, PHP is great because cheap hosting is plentiful + WordPress is really handy. None of this excuses design inconsistencies in the language, but it does explain why PHP use is so common.
Posted Apr 17, 2012 6:42 UTC (Tue) by marcH (subscriber, #57642)
[Link]
Summary:
Barely good enough + first to market => WIN!
Sprinkle with appropriate vendor lock-in and you get: WIN FOREVER
Early mover is a myth
Posted Apr 17, 2012 8:04 UTC (Tue) by job (guest, #670)
[Link]
If that were true, we'd all be coding Perl.
PHP won because mod_php enabled cheap shared hosting. It created a whole new market and exploded in popularity.
It's a market that other languages ten years still doesn't compete in. Only Microsoft really tried and they couldn't even make deployment work consistently across their products.
PHP: a fractal of bad design (fuzzy notepad)
Posted Apr 17, 2012 8:16 UTC (Tue) by dlang (✭ supporter ✭, #313)
[Link]
> Barely good enough + first to market => WIN!
well, Yes
release early, release often is the core of opensource programming.
It requires that the code be 'good enough' (even if barely) and that you update it at a sufficient velocity that competitors can't catch up.
note that 'good enough' will have different meanings for different people, so what is 'good enough' for one use-case may not be for others.