Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
What runs Google and Facebook? I had heard it was Python and PHP respectively. Thank you.
It's important to distinguish a web app's front-end from its back-end. Facebook's back-end is built with a special version of PHP; Twitter's back-end was originally built with Ruby/Rails, but was converted to Java over the past year. Many of Google's applications (their back-ends, that is) are built with Python, YouTube included.
Brandon Barrette20,485 Points
So websites are built using many different programming languages that all talk to each other.
The thing to remember is:
- Ruby, Python, PHP, etc are server-side languages, run on a server which generate the content and then it's sent to your browser to be displayed.
Just wanted to add 2 links that I've found very helpful when asking how a site is built. Hope you enjoy!
http://behindthesite.com/#/ this is very detailed, provides references and you can learn and spend a lot of time here!
https://wappalyzer.com/ this is a browser extension/plug-in - and when you are visiting a site it will tell you what technologies are used. Very cool tool.
Stefan Osorio16,419 Points
"I don't kow for certain but I do believe that Sites like Twitter and Facebook are run on Ruby and of course PhP."
Here's a nice overview of the languages used in some popular sites: http://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites
Jonathan GrieveTreehouse Moderator 90,699 Points
I don't kow for certain but I do believe that Sites like Twitter and Facebook are run on Ruby and of course PhP.
I'm looking forward to getting in to Ruby as I hear it's a great platform for building dynamic websites. :-)