开发者

Rails HTML5 offline database

开发者 https://www.devze.com 2023-01-30 12:27 出处:网络
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 on

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

精彩评论

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