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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -