enowars / eno-landing-page

ENOWARS Landing Page
MIT License
0 stars 1 forks source link

Consider the usage of an orm framework #14

Open Trolldemorted opened 4 years ago

Trolldemorted commented 4 years ago

Manually written sql statements can make software hard to maintain imho. I assume the webframework we use has something better to offer than manually sending sql statements? cc @ldruschk

ldruschk commented 4 years ago

flask-sqlalchemy should be the way to go

domenukk commented 4 years ago

Still not sure this isn't engineering for engineering's sake...

ldruschk commented 4 years ago

Using an ORM instead of plain database queries is light years away from "engineering for engineering's sake". The moment you need to do manual migrations it just gets unnecessarily complicated and a lot of queries would get simplified too.

If the landing page was feature-complete I would agree that this is not necessary, but since we want to implement new features going forward this will just make our lives easier.