Google abstracts browser databases with WSPL
Google have released WSPL, a portability layer for client side web storage. WSPL, Web Storage Portability Layer, allows developers to use Google Gears or HTML5 databases with a single API. WSPL first appeared in a recent update of Gmail for the iPhone and Android devices where it was used to improve code portability between the different database APIs.
The Google developers have also taken the opportunity to release an example note-taking application which uses a cache pattern to make an application tolerant of being online, off-line or just wrestling with a intermittent connection. WSPL and the example code are licensed under the Apache 2.0 licence and the code is available from the WSPL Google Code project. There are no single file downloads available, so downloading the code requires checking it out of the project's Subversion repository.
See also:
- Gears takes web applications offline, a feature from The H
(djwm)