- Joined
- Oct 11, 2007
- Messages
- 1,706
- Reaction score
- 517
I assure you that PHP can work quite well for very large applications, such as a social network. You have a ton of utilities at your disposal that can cache or in some other manner speed up/increase scalability of a PHP application. Remember, you aren't limited to Apache. I could even run PHP using node.js as a webserver.
I know that, I've designed, and worked on large scale websites(including a social network with about 1.000.000 concurrent users), using PHP, and I still use PHP every day for most of my projects.
However, I'm simply stating that PHP might not be the best option for his project, a thought I think should be put into every developers thought if you are creating a large scale network website, to actually think about how the website in itself is going to work.
Keep in mind that the site might not work well with caching, what if the content changes on it dynamicly every 3-4 minutes? Then caching wont be as effective as you would have wanted.
So yes, I have to correct myself, PHP can be scalable, if it's done properly and in the right situation. For a bigger website, such as a social network, I think you will most likely go with RoR or some other solution.
Just like Twitter, Shoppify, Basecamp.
But yes, just like you said, you can use PHP as well. Completely depends on the site in itself and requirements.
In the end, it's up to the project in itself, what's best for the project is what should be used to make it. I'm merely trying to encourage thinking about other options.