Is it possible to download an SQLite database to use locally via HTML5 when offline? -
i'm considering building html5 application require downloading sqlite database server , accessing database locally referencing data while offline.
is possible download pre-populated sqlite database , access locally html5? haven't been able find examples or tutorial on this.
my current thought build site can run while offline via manifest cache files (so far no problem), needs have access pre-populated sqlite database downloaded server, , part i'm not sure how handle.
when online, html5 application need have ability check server updates, rebuild manifest cache , update database again...
html5 , sqlite aren't same thing. offline storage , web sql features of html5 use implementations sqlite - not implementations use sqlite.
that being said, short answer be: no.
you should instead synchronize data doing like.... storing timestamps of updates , shuttling data , forth via json (or similar).
Comments
Post a Comment