title: What to Use for PhoneGap Database Storage
body: <p>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.</p>
  
  <p>The PhoneGap API for storage is here,</p>
  
  <p><a href="http://docs.phonegap.com/en/1.3.0/phonegap_storage_storage.md.html#Storage" rel="noreferrer">http://docs.phonegap.com/en/1.3.0/phonegap_storage_storage.md.html#Storage</a></p>
  
  <p>It is based on this HTML5 spec,</p>
  
  <p><a href="http://www.w3.org/TR/webdatabase/" rel="noreferrer">http://www.w3.org/TR/webdatabase/</a></p>
  
  <p>The problem for me is that the specification for this is not being maintained any more, and the standard has been deprecated.</p>
  
  <p>The other problem is that I implemented a database using web database, and the versioning didn't work properly.</p>
  
  <p>What is PhoneGaps stance on this and will PhoneGap look at other technologies such as the Indexed Database API,</p>
  
  <p><a href="http://www.w3.org/TR/IndexedDB/#database-concept" rel="noreferrer">http://www.w3.org/TR/IndexedDB/#database-concept</a></p>
  
  <p>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.</p>