Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7161673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:36:22+00:00 2026-05-28T13:36:22+00:00

I am writing an application using PhoneGap, and am finding it hard to work

  • 0

I am writing an application using PhoneGap, and am finding it hard to work out how to store my data in a database. For the minute I just want to keep an open mind as I will be recommending technology options to our company.

The PhoneGap API for storage is here,

http://docs.phonegap.com/en/1.3.0/phonegap_storage_storage.md.html#Storage

It is based on this HTML5 spec,

http://www.w3.org/TR/webdatabase/

The problem for me is that the specification for this is not being maintained any more, and the standard has been deprecated.

The other problem is that I implemented a database using web database, and the versioning didn’t work properly.

What is PhoneGaps stance on this and will PhoneGap look at other technologies such as the Indexed Database API,

http://www.w3.org/TR/IndexedDB/#database-concept

I am storing JSON data in the localStorage for now which is working great, but I am wondering if my database could get too big and it might not be the best option.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:36:22+00:00Added an answer on May 28, 2026 at 1:36 pm

    I faced the similar issue while developing an application few months back in which we were expecting to port the application to different platforms (with different versions). So instead of using the core storage mechanism which phonegap offers we went on using a dedicated storage framework which can provide consistent api but uses the best underlying storage mechanism.

    There are variety of JS frameworks which can help you use the underlying storage. The following are few might interest you if you are planning to use the app on different platforms.

    PersistenceJS – persistencejs.org

    lawnchair – http://westcoastlogic.com/lawnchair/

    persistencejs uses gears and localstorage in combination which helps to run the app on BlackBerry 5.x devices as well without any change.

    I went on using the persistencejs and it have really worked well till now. We have ported the application on Android, iPhone, iPad, BlackBerry (5.x and greater)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an application using Core Data to control a few NSTableViews. I
I am writing an application using the MVVM pattern. I am providing data to
I am writing a web application using PHP. I want to use the MVC
I am writing a iphone application using phonegap and ios. I have a weird
I'm writing an HTML5 mobile application, and using PhoneGap to push it to the
I am writing a PhoneGap application to work on Android initially. I am writing
I'm writing an application using the public Tumblr API, just for fun. I have
I am writing an application using an object database ( db4o ) and in
I am writing application using c++, in windows. I want to get a thumbnail
I am writing application using PhoneGap on Android. I need to call some PhoneGap

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.