[
https://issues.apache.org/jira/browse/CB-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162878#comment-13162878
]
Patrick Mueller commented on CB-103:
------------------------------------
meta-comment here: I think the jury is out on Web SQL vs IndexedDB. I don't
think any of the browsers (desktop) have fully implemented IndexedDB yet, so we
don't really know how successful it's going to be. We do know that:
- WebSQL is available on WebKit-based browsers
- probably not going away on those browsers any time soon
- it's not implemented on many other browsers
- people are using it
If I peer into the looking glass, not clear to me that continuing to have a
WebSQL for Cordova in a few years would be such a bad thing. I think we should
entertain the possibility that WebSQL is something we would want to provide on
all Cordova platforms.
I will also mention a thread popped up on the webkit-dev m/l this weekend re:
"should WebKit require WebSQL". Two responses so far, both "yes". Presumably
this might be just for implementation detail for WebKit itself (managing
caches, etc), but ... it tells you something.
> Support opening a database that connects to an existing file
> ------------------------------------------------------------
>
> Key: CB-103
> URL: https://issues.apache.org/jira/browse/CB-103
> Project: Apache Callback
> Issue Type: Wish
> Reporter: Raymond Camden
> Priority: Minor
>
> Under Adobe AIR, you can open a connection to a SQLite db and point to an
> existing file. The benefit of this is that your application can ship a
> database seeded with data. Without this support, your application has to
> initialize the db via scripting. While not difficult, it does increase the
> application's first run time and also complicates the code unnecessarily. I
> understand that this isn't per the Web SQL spec,
> http://dev.w3.org/html5/webdatabase, but it could certainly be useful.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira