mobile - How to effectively store large amount of content in Cordova (PhoneGap) application? -


i'm working on cordova application contains data approx. 3000 objects. in general data contains of title, object location, description , object image.

for i'm storing "metadata" (location, title , id) in javascript file using object literal notation , loading on startup. descriptions (formatted text) stored in seperate html files loaded on demand iframe.

everything fine while because had 10 object descriptions added project. after loading of descriptions, application startup time increased more 10 seconds.

it seems problem cordova unable handle projects lots of files getting processed on startup. techniques used minimize file count without increasing code complexity , improve application performance?

if have 3000 objects better off storing them in db , setting on startup of application:

http://simonmacdonald.blogspot.com/2011/12/on-second-day-of-phonegapping-copying.html


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -