Tech stack for Python aurweb
email at ricardo.band
Sun May 24 18:38:11 UTC 2020
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, 2020-05-18 at 17:49 -0400, Lukas Fleischer wrote:
> Everybody involved in these efforts seemed to prefer Flask  so
> It's a mature micro framework and has a relatively low barrier of
I'm a python programmer for a while now and I really like the small
size and simplicity of Flask. But let me give you one advice here.
If you're dealing with a more complex application Flask tends to become
more complex and very hard to manage. All of a sudden you integrate
about 10 Flask addons. Some of them are not well maintained. Some
droppen support for others etc.
You have to manage all those dependencies.
Personally I prefer Django in more complex projects as it comes with
everything included. You rarely have to add something to your
I never understodd the argument about it being too big or heavy. Under
normal workloads you don't see any difference. Yes Flasks anwsers a few
100 more requests per minute then Django, but is really important to
your project? And even if it is, can't you just spawn another instance
My personal rule of thumb is to use Flask for everything simple. When
users are involved it immediatly becomes complex and I switch to
So for example a small API without user database is good job for flask.
A blog like app where I have to deal with users, registrations etc is a
good job for Django.
mailto:// email at ricardo.band
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the aur-dev