Rails 3 离线 Web 应用程序存储和同步
我想使用 Rails 3 开发移动应用程序,这些应用程序能够离线工作并在网络可用时立即同步。
我发现 lawnchair 似乎有希望用于存储/同步,因为它是纯 json。
有没有一种方法或设计模式可以在 Rails 3 应用程序离线时激活 Lawnchair,然后在 Rails 3 应用程序再次上线后将其同步到 Lawnchair 数据?
可以使用机架离线来触发此行为吗?
I'd like to use rails 3 to develop mobile apps that will be able to work offline and sync back as soon as the network is available.
I found lawnchair which seems promising for storing/syncing because it is pure json.
Is there a way or design pattern with which I can activate Lawnchair if rails 3 app is offline and then sync lawnchair data back with rails 3 app once it is online again?
Can rack-offline be used to trigger this behaviour?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是我现在正在做的事情:
我对所有这些的培训内容如下:
让我知道不同的选项/路径
This is what I'm doing right now:
My training stuff for all this are as follows:
Let me know different options/paths