storesafe / cordova-sqlite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API
Other
2.15k stars 716 forks source link

Since Web SQL isn't maintained by W3C anymore, Should I continue to use this plugin ? #330

Open linxd5 opened 9 years ago

linxd5 commented 9 years ago

I am looking for a front-end database plugin and find this one. By reading the Doc, I know "the API similar to HTML5/Web SQL API". As we all known, W3C doesn't intent to maintain Web SQL further and continues work on two other storage-related specifications: Web Storage and Indexed Database. I want to know whether this plugin supports for IndexedDB ? Waiting for your answer, Thank you ~

brodycj commented 9 years ago

This plugin currently does not support IndexedDB, or at least not out of the box. There are two ways forward:

Despite the W3C decision to drop the Web SQL API work, I feel very strongly to continue supporting sqlite for the following reasons:

Also, I read that even though Firefox wants to drop Web SQL, it continues to sqlite for something else.

I am planning to make a simpler batch transaction API later this year.

linxd5 commented 9 years ago

Thank you ~

brodycj commented 9 years ago

This comment deleted due to copy-paste error

brodycj commented 9 years ago

Sorry @linxd5 I accidentally hit the button to save the comment with some Markdown text I was previewing for another project. In case you are really curious the project is a work in progress at: https://github.com/brodybits/mbflow

Please ignore it. If you have any other questions please don't hesitate to ask!

Also re-opening this until I get the IndexedDB shim working with this plugin.