有什么好的适用于 iPhone 的客户端-服务器数据同步框架吗?

发布于 2024-09-08 13:27:58 字数 443 浏览 7 评论 0原文

我刚刚进入 iPhone 应用程序项目的客户端-服务器数据同步阶段,并设法在 iPhone 客户端和 TurboGears 服务器上加载我的 CoreData 数据模型(这很好)。我现在开始解决服务器和多个客户端之间同步数据的问题,虽然我可以自己推出,但这似乎是非常普遍的问题之一,因此应该有框架或库提供了大量的功能。

有谁知道可能适用于这种环境的一个(例如iPhone上的Objective-C,服务器上的pyobjc / Python)?如果没有,是否有人知道这种东西的设计模式或普遍商定的方法,这将是自我实现的一条好路?除了“数据同步”或“远程对象持久化”之外,我找不到一个普遍接受的术语来描述这个问题,这两个术语在谷歌上都没有多大用处。

我确实遇到过 Funambol 框架,它看起来提供了这种确切类型的功能,但是,它是基于 C++ / Java 的,因此看起来它可能不太适合我项目中的特定语言。

非常感谢任何帮助。

I'm just getting into the client-server data sync stage of my iPhone app project, and have managed to get my CoreData data model loading on both the iPhone client and my TurboGears server (which is good). I'm now beginning to tackle the problem of sync'ing data between the server and multiple clients, and while I could roll my own, this seems like one of those problems that is quite general and therefore there should be frameworks or libraries out there that provide a good deal of the functionality.

Does anyone know of one that might be applicable to this environment (e.g. Objective-C on iPhone, pyobjc / Python on the server)? If not, does anyone know of a design pattern or generally-agreed upon approach for this stuff that would be a good road to take for a self-implementation? I couldn't find a generally accepted term for this problem beyond "data synchronization" or "remote object persistence", neither of which hit much useful on Google.

I did come across the Funambol framework which looks like it provides this exact type of functionality, however, it is C++ / Java based and therefore seems like it might not be a good fit for the specific languages in my project.

Any help much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人间不值得 2024-09-15 13:27:58

由于您已经在使用 TurboGears,请查看 RestController 文档。使用 RESTful 服务已成为一种广泛采用的架构,为客户端和服务器提供了许多实现。 Matt Gemmell 的 MGTwitterEngine 是客户端实现的一个很好的示例一个特定的API,Twitter。

Since you are using TurboGears already, take a look at the RestController documentation. Using RESTful services has become a widely adopted architecture with many implementations for both clients and servers. Matt Gemmell's MGTwitterEngine is a good example of the client implementation of a specific API, Twitter.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文