You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: