javascript - Phonegap store local db -
javascript - Phonegap store local db -
i have mass of info in app. need in case app runs offline.
currently have in data.js file , utilize jquery data function manage it. there 1800 lines this. ~500kb in total.
$.data(db,'aarstraße',['34236:1','34246:2','34270:4','34290:6',...]);
is there improve way store data?
my main concern performance. not query info app performance in total ram usage , startup time.
my recommendation pre-populate sqlite db , on application startup re-create db right location app can access it. there blog post on topic at:
http://gauravstomar.blogspot.com/2011/08/prepopulate-sqlite-in-phonegap.html?utm_source=feedburner&utm_medium=feed&utm_campaign=feed%3a+gauravstomarbootstrappingintelligence+%28gaurav+s+tomar+%3a+bootstrapping+intelligence%29
javascript jquery-mobile cordova
Comments
Post a Comment