2 ms·
Django, mithril.js, and bootstrap. Django since it's a "batteries included" framework. Mithril.js for react-like features. It's a small framework, so one cou
by gkhartman 3y ago
Django, mithril.js, and bootstrap.
Django since it's a "batteries included" framework. Mithril.js for react-like features. It's a small framework, so one could easily read through it's code to understand how it works if needed.
I'll swap Django for Flask for smaller/lighter services.
If I was starting a project today, I might use htmx in place of mithril.js, and tailwind in place of bootstrap.
- appplication 3y agoI wouldn’t recommend using flask for new projects in 2023. The ecosystem is just a mess compared to Django or FastAPI on either end of the spectrum of full featured to lightweight. Flask seems to rely on its extension ecosystem for core functionality, but the extensions frequently don’t play well together, are poorly documented, overly complex, and often infrequently updated (or become vaporware). From years of personal experience maintaining legacy flask apps as well as building new ones with the latest and most well maintained libraries, I believe it’s fair to say there really are no best practices when it comes to flask. At best you’ll have an app that is functional, but more complex, limited, and difficult to maintain vs a comparable app built with any other framework.