Quote:
|
Originally Posted by nicksnels
Hi,
I have already asked this question on multiple forums, but nobody seems to know an answer. So lets see what people on a db forum think of it
I'm working on an application (C++ Qt4) where the client side of the program has a local database (SQLite) and the server has a database (MySQL). Data is send from the local database to the remote database on several occasions. I have no control over the client side and there will be many thousands of clients.
|
No control? You can't have the client software check your server for updates?
Some thoughts:
Your installer should, as part of the installation process, offer to update any existing SQLLite data stores to the latest schema. Just stash a version number in a table. Make sure there's no way the user can get stuck with a half-upgraded database!
Qt can be scripted. You can vastly speed up your UI design time by only coding the most critical parts in C++ and leaving much of it in the scripting language. If you only change the scripting, you don't even need to restart the main program, which helps with the next thought:
Don't allow old clients to proliferate. If you can, do automatic and mandatory updates. If you're just downloading a few new QtScript files when you connect to the server, the user won't even care about the updates. Do make sure that updates are done in a secure fashion; take the time to get a proper SSL certificate.