2 ms·
What things do you want your framework to do for you? Django has a steeper learning curve than Flask, but takes care of more of the tedious and repetitive stuf
by gshdg 6y ago
What things do you want your framework to do for you?
Django has a steeper learning curve than Flask, but takes care of more of the tedious and repetitive stuff for you. With Flask you’ll have to build more from scratch or cobble together third party modules that were never really meant to work together.
When did you last look at Django? Modern versions are far more flexible and powerful than those of 10 years ago, but that flexibility comes at the expense of a bit more boilerplate and a bit more to learn. It’s just about perfect for most CRUD apps; and if you want to use raw SQL for queries too complex for the ORM, it supports that too.
For charts, there are some Python tools for server side rendering, but you may want to look into Javascript frameworks like D3 that support live-updating charts when users adjust parameters. That said, you can also start with server rendered for MVP and add Javascript as necessary.
You’re probably going to have to write at least some of your HTML from scratch, but a modern layout library like Bootstrap can save you the heavy lifting for CSS and provide some HTML boilerplate.