偶尔在线app数据同步
我正在编写一个应用程序,它由一个主“服务器”数据库(最有可能是sqlite)和一个具有客户端特定记录的客户端副本(同样是Sqlite)组成。客户端可能只是偶尔在线或者可能使用较慢的 3G 连接;我需要一个解决方案来根据需要或按计划的时间间隔可靠地同步内容。客户端应用程序可以是 WPF/Silverlight 或 HTML5(因此首选 sqlite)。
我一直在研究 Microsoft 同步框架 2.0,但显然这不适用于 HTML5,我希望尽可能保持架构的一致性。还有其他想法吗?
谢谢。
I am writing an application which consists of a master "server" database (most probably sqlite) and a client side replica with client specific records (again, Sqlite). The clients may only be online occasionally or may be on slow 3G connections; I need a solution to reliably synchronise content either on demand or at scheduled intervals. The client application could be either WPF/Silverlight or HTML5 (hence the preference for sqlite).
I've been looking at the Microsoft Synchronisation framework 2.0 but obviously this won't work for HTML5 and I'd like to keep the architecture as consistent as possible. Any other ideas?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将 Rhino 服务总线与离线缓存结合使用 - Ayende 已在 MSDN。 (对我来说,听起来您面临着许多相同的问题 - 不过,我对 HTML5 的了解还不够,不知道它是否能解决这个问题)
You could use Rhino Service bus combined with an offline cache - Ayende has published a very nice demo of how to do it on MSDN. (And to me, it sounds like you're facing many of the same problems - I don't know enough about HTML5 to see if it would work against that, though)