3 ms·
Sorry, but that's just historically inaccurate. PHP _10_ years ago was popular because it was a templating language that could be embedded in HTML, in which ca
by fallous 15y ago
Sorry, but that's just historically inaccurate. PHP _10_ years ago was popular because it was a templating language that could be embedded in HTML, in which case it supplanted SSI and really was a competitor to ASP.
mod_perl was spanking PHP 10 years ago from a performance standpoint, but the democratization of the web meant that a lot of people that started with basic HTML layout then learned to extend it with PHP in templates, then moved on from there. Much the same as Perl became a dominant CGI language in mid/late 90s because a lot of sysadmins and hackers transitioned to back-end development due to web programming demands.
- streptomycin 15y agoNo, it's not historically inaccurate. mod_perl was fast, but no shared hosts offered it. So unless you wanted to shell out big bucks for a dedicated server, mod_perl wasn't much of an option. And if you wanted to write software to give away or sell to others, mod_perl certainly wasn't much of an option unless you wanted to only focus on a very small part of the market. I personally transitioned from writing Perl CGI scripts to writing PHP scripts about (pause while I look through my records) 9 years ago, and it was exclusively for performance reasons (I still prefer Perl as a language). I was not alone in my thinking back then.