javascript - What datatype to store in for PhoneGap app? -


I am currently developing an application that includes specific information for different geographical locations. I with phonegap I'm using an ionic framework.

I currently have all the information for each region stored in JSON files, information is obtained from each page call and the user is dynamically placed to read. I chose Jason files because they are not difficult to manage and I need to allow users to download areas for offline use. Is JSON a good way to store this kind of data? I've heard of database storage on the ship, but not sure about any documentation or advantages / disadvantages of using such memory.

Any advice would be appreciated!

There are several ways to store data using Ionic / Cordova I though you have the way of JSN Will work, but you can run memory / scalability problems later on.

1) Built in support for eonic -

2) Portable version of the Patcha-Apache couch database is the best thing to do, in a remote database. Back and backward lets synchronize data.

3) Mozilla Locophiles: Carry back back to your storage system. Especially for offline storage

The advantage of using these

  • They store the document in JSON format
  • In some REST API like
  • You can run questions against the interface to connect and write.
  • They load once during the URL load.

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -