Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore the use of an ORM #150

Open
goodmami opened this issue Nov 5, 2021 · 2 comments
Open

Explore the use of an ORM #150

goodmami opened this issue Nov 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@goodmami
Copy link
Owner

goodmami commented Nov 5, 2021

All interaction with the SQLite database backend is through direct SQL queries. This has worked so far but it might be worth exploring the use of an ORM instead, for maintainability (SQL is yet another language to learn; fewer lines of code to maintain with an ORM) and for the ability to swap the database engine (Heroku uses Postgresql and not SQLite, as I understand). A potential downside is the overhead or non-optimized queries causing slower performance. This needs to be tested (hence the title of this issue: "explore the use of...").

Of the ORMs available, I've been impressed with Pony, but I'm happy to consider others.

@goodmami goodmami added the enhancement New feature or request label Nov 5, 2021
@goodmami
Copy link
Owner Author

This approach to hosting an SQLite database in a static web host might be an alternative solution that would allow us to host something like the OMW using only GitHub Pages.

@fcbond
Copy link
Collaborator

fcbond commented Oct 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants