incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-103) Support opening a database that connects to an existing file
Date Mon, 05 Dec 2011 17:08:40 GMT


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:
>             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,, 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:!default.jspa
For more information on JIRA, see:


View raw message