Sync indexedDB with mysql database -
i develop application employees go service repair machines @ customer premises. need fill service card using tablet or other mobile device. in case of no internet connection, thinking using html5 offline storage, indexeddb store service card (web form) data locally, , sync @ office internet exists. sync mysql database.
so question: possible sync indexeddb mysql? have never worked indexeddb, doing research , saw potential.
web sql deprecated. otherwise, have been closer solution.
any other alternatives in case above difficult or outside standard?
your opinions highly appreciated.
thanks.
this definitly able. starting learn indexeddb last couple of days. how see working tho. sorry dont have code give you.
- website knows in offline mode somehow
- clicking submit form saves data indexeddb
- later laptop or whatever online or on intranet , can talk main server sends indexeddb rows server stored in mysql via ajax call.
- indexeddb cleared
- repeat
Comments
Post a Comment