Page 1 of 1

Offline cache in servoy mobile applications

PostPosted: Fri Feb 28, 2014 8:45 am
by shanikaj_2004
Hi ,
what are the options available for offline cache in servoy mobile applications ?
Can we use sqlite as the database inside the application ?

//shanika

Re: Offline cache in servoy mobile applications

PostPosted: Wed Mar 05, 2014 4:17 pm
by Andrei Costescu
Servoy Mobile applications store offline data in (browser) offline storage.

The DBs supported by Servoy in general can be used as they don't directly interact with the client side mobile solution, just with the (mobile) service solution that runs server side - to send/receive data to/from the mobile solution. Of course, on the client side - besides the databases used by the solution when developing (which are simulated client side using offline storage) you can use other libraries as needed, or access things like Phonegap API for more ways to store offline client data.

Re: Offline cache in servoy mobile applications

PostPosted: Fri Mar 07, 2014 12:21 pm
by rvanderburg
Servoy uses standard offline data in the mobile client. You can interact with that local data through foundsets and relations as you are used to in "regular" servoy.
Databinding is done the same as in a regular Servoy client, also business rules run local against local data. Servoy provides a sync mechanism out of the box to a Servoy server over a rest connection, you have fine grained control over this mechanism.