aptiko / irma

Project management for IRMA—no code, mainly issues
0 stars 0 forks source link

Select back-end framework #3

Closed aptiko closed 5 years ago

aptiko commented 5 years ago

We can use Django+DRF or flask for the back-end.

Benefits of Django+DRF are maturity, migrations, admin site, batteries included.

Benefits of flask are that it's easier.

If someone tells you "I'm a Django developer", you more or less know what he means. But if someone tells you "I'm a flask developer", go figure: do they know pony or peewee or SQLAlchemy? And so on.

On the other hand, even a Django developer doesn't necessarily know it all, as Django+DRF is huge. It can be easier to train a flask developer to the things he doesn't know than a Django developer.

I think we've spelled out all benefits and drawbacks, so there's not much use arguing any more about it. We just need to make a decision.

Probably the decision will be Django because @aptiko is more comfortable and will help with the backend (possibly undertake it entirely) and he has another Django project (OpenHI/Enhydris) running at the same time.

kickapoo commented 5 years ago

In contrast

Flask:

Pony:

My personal choice is Flask / Pony

aptiko commented 5 years ago

We'll use Django because I have a Django T-shirt, whereas no-one has a Flask T-shirt.