Wednesday, October 24th, 2007

HTML5 Wrapper for Gears Database Component

Category: Gears, HTML

Dimitri Glazkov took a look at the HTML 5 SQL Storage API which WebKit just implemented and put together a Gears wrapper.

As an example he has Stickies running on Firefox with Gears.

The bridge is very simple indeed. Just take a peek at the code.

The major note here is that the current draft HTML 5 spec has the SQL API as an asynchronous one, whereas Gears has a synchronous API. In my experience, people prefer synchronous here, and Adobe AIR has a new synchronous API that they just released with the latest beta. I would love to see the HTML 5 spec contain a synchronous version too.

Posted by Dion Almaer at 8:49 am
3 Comments

+++--
3 rating from 19 votes

3 Comments »

Comments feed TrackBack URI

Just a quick note — I hacked the asynchronous support last night, using the Gears worker, so don’t get surprised looking at the code.

Comment by Dimitri Glazkov — October 24, 2007

Man. This is so weird. Who’d of thought HTML would have storage support with a SQL API. Now not only do we have to worry about separating form, from presentation, from behavior, but also a whole new model.

Comment by Dustin Diaz — October 24, 2007

I’m still working on getting standards compliant pages to render in IE like they do in every other browser, Dustin.

Comment by Axel — October 24, 2007

Leave a comment

You must be logged in to post a comment.