Like a Three Stooges carpet-pull slapstick stunt, the HTML5 client-side storage spec changed drastically the night I released my Gears wrapper. Thump. Ow!
I am ok! I am ok! And better for it! This time, I am back with the vengeance. Why fight the change? Embrace it! Dear reader, allow me to present the HTML5 SQL Player, a tool that spec developers and curious bystanders alike can use to poke and prod the spec in action. Essentially, this is a Google Gears-based sandbox, in which a user can run Javascript code to query and test the interfaces, implemented by the specification. If I were into that kind of thing, there would be a picture of a crazy-eyed Christopher Lloyd and some reference to the movie that doomed his career. Yes, my friends, this sandbox is a glimpse into the yet-to-be-implemented technology.
And as such, beware of the bleeding edge. Some things in the spec are somewhat under… erm… specified (like the mode of transaction and its effect on sequential calls of the transaction
method) and some things in the sandbox are under… erm… implemented (like changeVersion
or SQL sanitation). But regardless, this approach is still the best if you’re trying to evaluate spec’s viability in an effort to make it better. And that’s what this is all about.
Hi Dimirti,
What happened to the Gears – HTML 5 wrapper code? I can find it nowhere on your side anymore.
I’d like to use it to make my tool (BrewGear) work on Safari and Firefox alike.
Regards,
Arjan
It’s kinda lost in translation at the moment. I moved my blog to wordpress.com over the weekend, still trying to get the rest of the files migrated.
You can see the code here: http://code.google.com/p/glazkov-attic/source/browse/trunk/corner/html5/
I should warn you though — this code is for the older iteration of HTML5, which is _not_ what the latest WebKit implements.
Hey,
I could not find the download anymore so I redid the HTML5 on top of Gears wrapper and put an ORM on top:
http://joose-js.blogspot.com/search/label/OR-Mapper