Monday, November 1, 2010

LAMP: PHP is past its prime

If one part of the LAMP stack has to be the week link at this point it is PHP. PHP is a great language for doing little things but as web applications get more complex it is showing its limits.

PHP suffers from a few major problems:

  1.  The need to have a <?php tag at the top of any file, and having the script send anything outside of the <?php tag to standard output.
  2. Almost no ability to do any form of asynchronous operations 
  3. Vulnerability to injection and XSS attacks (Though many languages have this problem)

There is also the fact that as languages go PHP is just not very elegant. spend a few hours with python, ruby or javascript and PHP will feel painful. 

No comments:

Post a Comment