开发者

Using GWT with local database

As far as I know, there are two ways to create a local database on the browser, either go with HTML5 window.openDatabase or Google Gears.

Which one is better, and why? Are there a开发者_如何学编程ny other alternatives beside those two?


Gears is deprecated whilst HTML5 WebStorage is rising. Pick your poison.

Build yourself a "wrapper" around both and switch at runtime.


Gears is officially deprecated due to the HTML5 proposals. So unless you happen to have a large number of users who you know already have gears installed, go with the web storage as support will only get better as time goes on. Gears will stagnate at this point and is (for the time being) a dead end.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜