Friday, April 16, 2010

What language are the social networks and other sites like this are written in ?

Right. So, I know nothing about website programming, other than html. I was just wondering: all those social network sites and places like this, where you can start groups, add friends and all, what language is this, most of the time, php, dhtml, something else ??





Thanks.

What language are the social networks and other sites like this are written in ?
Facebook is written in PHP. You can tell because the page extentions end in "php".


Myspace is written in ColdFusion. It's page extensions end in "cfm".





However, as the previous poster noted there could be a dozen other technologies involved. However the page extensions are a pretty good indication of at least one of these technologies. Other common page types are ASP, ASPX (also known as ASP.Net) and pl for Perl.





Some websites such as yahoo and okcupid mask the typical flags that can help you determine what language they're written in but I'm sure a little research on Google could probably help you out with that.





If you're asking because you'd like to learn a little bit about how these sites function I'd suggest learning PHP or ASP.Net. I would highly advise that you avoid ColdFusion.
Reply:They are mostly written with php + htaccess + mysql + ruby.


The majority are hosted on servers with Apache, and generally make use of db caching, and cluster servers to manage load.
Reply:since most of them are quite big, and have to scale well, i'm pretty sure they're NOT written in PHP, Perl or ASP. I guess most of them are written in Java or in a combination of several languages. I once heard that Amazon is not a single application but a combination of hundreds of services; each service can be written in a different language. it's up to the developers which language they use.
Reply:They all use server side languages, like PHP, ASP, Perl, Python, etc.

insoles

No comments:

Post a Comment