Apologies if this is a duplicate. I am in the process of doing a POC for QT 5.2 and I am trying to determine the following things across all supported platforms (mobile included):
I am storing the user data in a json format that I will replicate ( or just copy) back to a NOSQL database. Looking at the docs and the Save Game example it seems that QFile is required for persistence. Is QFile supported across all platforms as a writable file?
At the heart of my issues is the data storage. I want to use a looser structure than SQL for storing the user data and I know that I can communicate with a CouchDB nosql database with pure HTTP calls when I need to sync back to the server. Is there an embedded NOSQL solution that is available across all platforms including mobile?
My preference is to use MongoDB over CouchDB but MongoDB seems to lack a recent driver that is QT (don’t forget mobile) compatible while CouchDB can be easily accessed via HTTP.
If you are curious about why I prefer Mongo over Couch it is purely aesthetic. Couch is written in Ehrlang and Mongo in C++. It is the HTTP interface that is driving me to Couch.
Cheers.
↧