Quote:
Originally Posted by Frank Drebin
Let me apologize for what is probably another senseless newb question, but I thought PHP was a backend code that ran on the server side?
|
For a lot of sites, PHP is probably the only backend language. However, for some high traffic sites, some of the more intensive operations are performed by another layer beneath PHP.
Facebook, for example, is written using PHP, but they use a custom version of it called HipHop, which basically converts the code into C++, which will run faster. Their chat application is written using Erlang.
YouTube was originally written in PHP, but when Google bought it, they rewrote it using Python, though I think this was more because Google doesn't use PHP than that PHP couldn't handle it.
If you're interested in the architecture of some of the more popular sites around the web, check out a website called High Scalability.
|