|
|
|
|
|
by mattl
5776 days ago
|
|
I was the main pusher for PHP in the early stages of GNU social development -- out of interest, what would you use instead, given our goal of having this installed on as many web servers as possible and as cheaply and easily as possible? |
|
Lots of webhosts are really sub-par, and tend to rip off their clients, and much of these same webhosts refuse to give root access, which is a pre-requisite for most of the non-PHP languages.
Sure, PHP will work on these platforms just fine, but as usual, the more people who produce PHP products, the more people out there who'll start dirty nasty webhosts trying to capitalize on that fact, perpetuating the bad hosting situation.
As for personal preferences from a technical standpoint, I'd have hoped somebody like GNU would have had the intuition to develop something well developed like a long-lived FCGI servlet application, which seems to be easy to do in every language except PHP.
PHP seems optimized for the developer use-case where "Something that runs perpetually and handles each request through the system chain" is "Too hard, and Too confusing", and instead they tailor to the 'Every request reloads everything from scratch' style of programming, which is in my personal opinion a design flaw.
Context: I was a PHP programmer for a while. These days I tend to become progressively more and more ashamed of that fact ( except in the obvious case here where I use it to bash it =) ). As a result, I don't frankly care what you use, I like Perl myself these days, but go ahead, use Python or Ruby, both increasingly more common. Heck, use C++ or Java for all I care, there are many decent systems, libraries and web frameworks in those languages ( that is, compared to the pathetic PEAR/PECL + Several dozen frameworks which each and every one of reinvent every wheel twice ), just use one, as long as its NOT PHP.