Many people take a lot of time to think about which web framework to choose for their next website. Here is a guide to help you choose the one most suitable for your next project.
Django
If you want to create a good looking website fast and with ease go with django. In my opinion django is the best web framework you can choose for blogs, newsletters and other applications.
People often call it the web framework with batteries included batteries for user authentication, models, emails, testing and a whole lot of them. I myself have built full fledged websites in django within days. If speed is all you want nothing is better than django.
Mern
Mern stands for MongoDB, Express, React and Node.
If you want to build a perfectionist website like a social media app, a nice community website like the one you are reading this post in mern has got you covered.
The best features of mern is that you can drop react and choose any framework like react native, flutter, angular or even build a desktop application with c++ and the backend won't even care.
You can create multiple things like a website with react and a android and ios app with react native, but it would take slightly more time.
Final thoughts
If you have to create a website like a blog application or a e commerce app FAST django should be your choice but if you aren't hurried and want to create a big application then mern should be your choice both slow and complicated.
Top comments (9)
Thanks buddy!
Hey, thank you for this info. but I'm struggling with this
plus I'm new to web dev, I was building scrapers and some automation with python. but now, I'm learning web dev with freecodeCamp, but I want to know which is better for getting a job. Thanks
Django can work with mongodb as there are a couple of workarounds, but as you say you are new to web development so I suggest you to go the hard way and anyways you can use mongodb atlas in the cloud and deploy the rest of the stuff on netlify or vercel without paying a penny, but deploying a django application is pain in the neck.
So, it will take bit of a pain developing your mern application but you can easily deploy it + you will learn a lot more than you will learn with django.
Thank you for the reply, that was helpful.
What if we expand the comparison a bit and make it like
Django vs MERN vs Rust vs Golang
? Then which one should we go for standing today?Thank for your help, but you can build social media app with Django, so I will go to the speed
Yes, plain Django with some css library like bootstrap or materialise will also work. If you want to ship fast.
Thanks for this post! I was wondering about this too!
Glad to help you... 😀😀