DEV Community

Discussion on: Django vs Express/Node which one would you choose and why ?

Collapse
 
andrematias profile image
André Matias • Edited

Well, how everything on tecnology my answer is that depends hehe.
For projects with interations directly with the OS I've preferred Django or just python because I've most facilities to work async and sync.
I like to use Express with Node because it's minimal and lets us choose what exacly I want to extends.
Django too lets us change stuffs, but I feel sometimes that I'm hacking the core to do what I need to do.

I love python and I've already learning JavaScript. Both is similars in some aspects but have yours pros and cons.
By the way, are you in some project to have that doubt?

Collapse
 
soumyaranjannaik profile image
Soumya Ranjan Naik

Yes, Actually I am going for a project and I want to have best weapons for the war. I am working on building a Book Reading Platform and wanted to choose one of the two (Although I have around 1 year of experience in Django and almost 0 experience in production ready Node.js) so was just wondering what are the pros and cons. Could you just list them down if possible.

Collapse
 
andrematias profile image
André Matias

Both are excelents frameworks and have a good community behind them. What I could say to you is if your project is a personal project go ahead with Express, it's the best way to learn something new. But if it is a prodution or some project that you will need to do some support I really suggest that you use Django most by your experience. You'll be ready to fix bugs and refactor your code most speedly.

Django have a good integration with databases all into the framework, and its works pretty well, with Express you will install some ORM or database manager to help you, it's fine but you'll need to learn this too.

If you will work with a real time app Node JS is the best with socket.io, is possible do that with Django too, but it's not a semantic way to do that, if you get me.