Feb-18-2023, 04:22 PM
Hi,
Upfront it is hard to say which one is better. I personally prefer Django due to the higher integration of components (ORM, Form management, template engine, security modules etc.). However, Django has certainly the steeper learning curve, at least for the start. While Flask allows a very simple "hello world" web-based application with < 10 lines of code, you need to edit at least three to four files to get things running.
To unterstand how Python-based web applications work (which is basically binding a function to an URL), Flask (or the bit dusted Bottle) may be the better starting point. Which doesn't necessarily mean that Flask is the better choice for you, ultimatetly.
If like to dive into Django, there are two excellent tutorials: the one on the Django project site as well as the "Django for girls" tutorial. The latter can also be read by boys, no worries.
No matter which one you choose: Django and Flask are widely used and have active communities, so getting help will be no problem.
Regards, noisefloor
(Feb-18-2023, 05:02 AM)Larz60+ Wrote: I admit that I am biased, and use Flask I beleive that Django and Flask are considered the top two.I would even say that Flask and Django are far ahead of the others with regards to popularity.
Upfront it is hard to say which one is better. I personally prefer Django due to the higher integration of components (ORM, Form management, template engine, security modules etc.). However, Django has certainly the steeper learning curve, at least for the start. While Flask allows a very simple "hello world" web-based application with < 10 lines of code, you need to edit at least three to four files to get things running.
To unterstand how Python-based web applications work (which is basically binding a function to an URL), Flask (or the bit dusted Bottle) may be the better starting point. Which doesn't necessarily mean that Flask is the better choice for you, ultimatetly.
If like to dive into Django, there are two excellent tutorials: the one on the Django project site as well as the "Django for girls" tutorial. The latter can also be read by boys, no worries.
No matter which one you choose: Django and Flask are widely used and have active communities, so getting help will be no problem.
Regards, noisefloor