Why PHP is (still) the easiest web programming language to learn
stackoverflow.com
stackoverflow.com
> PHP is a language, Rails/Django are frameworks and thus necessarily far-more complex.
Which completely misses the point of the linked comment, which is that PHP deployment is utterly trivial and that the mapping between URLs and PHP code is extremely simple to understand, creating a very low cognitive load on the user.
Replace "Rails/Django" by "Ruby/Rack or Python/WSGI" and you have the same level of abstraction as PHP (well probably lower actually as you don't get stuff like $GET/$POST/$GET), yet you still don't get trivial deployments and easy-to-understand mapping between code files and URLs.
<?php
echo htmlspecialchars($_POST["name"]);
?>
Most other languages would need a lot more (even with things like mod_perl). Plain PHP is definitely incomparable to Rails/Django but for web development, it definitely is much more than just Perl/Python/Ruby.