|
I maintain a site that receives over half a million pageviews per day, not including API requests of XML feeds. This site runs on 3 medium range commodity web servers and 2 database servers, and there's plenty of capacity left. Don't let the scaling police and architecture astronauts fool you: with the right architecture in place (i.e. a framework like Cake or Zend) and a smart scaling strategy (opcode caching, object caching, page caching, etc), PHP is a great choice for web applications. Sure PHP has a low barrier to entry, which can lead to poor coding practices, but that shouldn't be a reason for people to express an absolute hate for it. Rather, it's important to stress continual education regardless of which programming language you choose. |
With that said. I work on a PHP site that does 5-9 million page views a day. We have an in house MVC framework. We use MySQL, memcached and APC hosted on a handful of solaris zones. We have no issues scaling and have coding policies that our development team tries its best to follow. PHP is a proven language, it has been around a long time and has a huge community. It really comes down to preference and objective. I personally don't use any of the open source frameworks available. But there are plenty of decent ones that will work just fine for small to medium sized sites.
To anyone who says thats it's not a "real" language: do I care? It gets the same job done, it's proven to scale and it can turn a profit. Period.