Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

dylan kane
dylan kane
2,772 Points

What is the use of languages like python, ruby and php?

whole question is above

1 Answer

Andrew McCormick
Andrew McCormick
17,730 Points

That's a really broad question, but here's a great 'general idea' statement to help out:

These days most websites on the Internet have dynamic content. This means that the content displayed to the user has not been written directly into the HTML page but rather it has been generated by selecting information from a database that resides on the server.

This is advantageous as it means that you can create a single template page and then populate it with different information from the database depending on what page is requested."

(from: http://www.pythonschool.net/server-side-scripting/introduction-to-server-side-scripting/)

In other words serverside languages like the ones you mentioned typically connect to a data source, process the data, and return the output to the client machine in the form of a front-end language like javascript and html which can be interpreted by the client's browser. Again, this response is almost as general as the question so if you have a more specific question, feel free to add on.