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! While you're at it, check out some resources Treehouse students have shared here.

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

JavaScript

edwinshen
edwinshen
13,168 Points

Learning Express/Flask/Django and their differences/benefits

Hello. I think this is a fairly silly question, but I wanted to know about if it would be a "waste of time" to learn Express and Flask/etc. I know these are mostly for making web applications and I'd like to learn all of them. However, I was wondering if there was any benefit in learning them since you could probably make a website with just Express. Are there practical uses for learning more than one besides reinforcing knowledge of another framework I know?

Thanks!

2 Answers

Jazz Jones
Jazz Jones
8,535 Points

Express is for the Node.js environment, and Flask and Django are Python frameworks. They all basically do the same thing i.e. Create a back-end web service/api. I know more javascript than python but as with all frameworks they all solve the same problem with different solutions. If you want to know if it's worth your time learning any of those frameworks I'd suggest reading the documentation and researching blog postings on each of them.

I would say there's definitely more a learning curve with the Python frameworks but they'll do the same thing essentially. I would also suggest to take the course on here where you build a RESTful web service using Express. It was useful in my opinion.