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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -