DEV Community

Discussion on: Welcome Thread - v45

Collapse
 
vijoin profile image
Victor Inojosa

Hi Everyone! My name is Victor. I'm from Venezuela, living in Montevideo, Uruguay for about 7 months now. I've been involved with technology from quite a bit of time, but I've been dedicating to development for about 5 years, mostly with the Open source ERP "Odoo", made with Python. Right now I'm looking forward to improve as a Python developer, focusing on Flask and data engineering skills. I'm kinda re-defining my career path to become a top Python developer, so it would be nice to hear from you about your experiences and advice. Thanks to all.

Collapse
 
chrisachard profile image
Chris Achard

Hi Victor! What do you think about Flask? I've used it just a little bit (I'm not normally a python programmer), but how does it compare to say, Django?

Collapse
 
vijoin profile image
Victor Inojosa • Edited

Well... the main difference is that Flask is a microframework and Django is a "Batteries Included" framework.

This means that Django comes with a lot of stuffs ready to use like ORM, DB Migration, DB Drivers Modules, Forms, Users, Backend interface, middleware handle and all you could need to start your big project quickly.

In the other side, Flask is very simple by default... it just handle requests and responses and use Jinja2 to return templates as html (same as Django). But, Flask provides a lot of modules easy to install and put together. So it's perfect for small focused projects.

That's why Django is meant for big projects with typical CRUD, users, modules, model relations, etc; and Flask is perfect for small projects like API REST, data analysis or similar.

But in favor of Flask, you can use it for big projects.... but if you need Django for a small project it could be a nightmare.

Thread Thread
 
chrisachard profile image
Chris Achard

Ahh, that makes sense - a lot like express.js is a micro framework and rails is a "batteries included" framework. Thanks!

Thread Thread
 
vijoin profile image
Victor Inojosa

You're welcome!