WebKit Does HTML5 Client-side Database Storage
The WebKit team has implemented an implementation of the HTML 5 client side storage API which gives you an asynchronous API:
-
-
var database = openDatabase(“Database Name”, “Database Version”);
-
-
database.executeSql(“SELECT * FROM test”, function(result1) {
-
// do something with the results
-
database.executeSql(“DROP TABLE test”, function(result2) {
-
// do some more stuff
-
alert(“My second database query finished executing!”);
-
});
-
});
-
Once you have the latest nightly, you can check out their database example and even see the tool that is available in the Web inspector:
Read more on the source site
No comments yet.
feel free to leave a comment
Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs are automatically generated. Off-topic or inappropriate comments will be edited or deleted. Email addresses will never be published. Keep it PG-13 people!
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
All fields marked with " * " are required.


