Wednesday, October 24th, 2007
HTML5 Wrapper for Gears Database Component
>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.
Related Content:











Just a quick note — I hacked the asynchronous support last night, using the Gears worker, so don’t get surprised looking at the code.
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.
I’m still working on getting standards compliant pages to render in IE like they do in every other browser, Dustin.