Offline database access
Posted
by
dtech
on Stack Overflow
See other posts from Stack Overflow
or by dtech
Published on 2012-04-01T11:24:55Z
Indexed on
2012/04/01
11:30 UTC
Read the original article
Hit count: 175
I have a small application which basically consists of an user-friendly CRUD interface to a few tables (and joined tables)
It currently works with a MySQL database but I would like to make it available offline. My first thought was to create a SQLite "buffer" in between the MySQL database and the application, e.g. by executing all queries on the SQLite but also storing them in a log table so that they can be executed later in the main database with very basic conflict resolution (I will basically let the user solve it if a conflict is detected)
Due to the simplicity of the application this shouldn't be too difficult and good exercise, but I think I would be re-inventing the wheel. So my question is: are there existing solutions or other approaches for this problem?
© Stack Overflow or respective owner