5 ms·
Django vs Flask (or FastAPI) is an eternal programmers debate. I've been on this route several time and earlier I chose FastAPI, but now my current project is D
by FlyingSnake 4y ago
Django vs Flask (or FastAPI) is an eternal programmers debate. I've been on this route several time and earlier I chose FastAPI, but now my current project is Django.
Django comes with batteries included which is perfect for a large set of problems like Appointment booking SaaS or similar client-server problems. It is opinionated in certain areas like ORM or MVT but gives enough leeway in others like addons like DRF and templating. It does strict MVT which makes it unfashionable in µservices and DDD contexts. But once you make peace with the ecosystem and choices, the absolute speed you get in terms or releasing features is phenomenal.
Apart from inbuilt support for security, templating, documentation, Django also plays really well with 3rd party tools like heavyweight frontend frameworks (React) or lightweight libs (HTMX+AlpineJS). It's ecosystem is also great and you can easily setup Social auth or custom crispy forms in a day or so. And the cherry on top if Django admin which is highly customizable and unbeatable.
- canadianfella 4y ago[dead]