jeudi 23 juillet 2015

SQLite(relational) or PouchDB for Ionic/Cordova App sync

I'm developing an App with Ionic/Cordova but I don't know what database use for optimize and speed the requests and maintains the synchronized both. I'm between two options.

Server: MYSQL and PHP API, JSON response. (or persistence.sync.js)

Local App: SQLite (Cordova Plugin) and query when I need.

OR

Server: CouchDB + PHP Backend to Admin (Because I need relations so I have to duplicate some info).

Local App: PouchDB

I have doubts because I heard that Cordova SQLite plugin is now a bit slow with querys.

The total amount of the database size in JSON (for PHP request) is aprox 700kb.

Which would be better to use in this case?

Thanks!

Kind regards.

Aucun commentaire:

Enregistrer un commentaire