开发者

Rails HTML5 offline database

Are there any examples, gems, or plugins that would provide a good starting point for a Rails app that utilizes an offline database? Bonus points if it deals with syncing the offline database to an online database.

Or, is it preferred use str开发者_StackOverflowaight JavaScript for this?


I recommend looking at Rack::Offline

It handles creating the manifest and has other nifty features as well. But, all told, you will need to get into the nitty-gritty with 'straight-javascript'.


You've probably seen it by now, but check out Railscast episode 247s 247 and 248. In 248 he mentions that a plugin does not currently exist so you have to code it in Javascript for now.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜