iPhone Grails 远程选项

发布于 2024-10-27 09:16:34 字数 304 浏览 3 评论 0原文

我正在拼命寻找合适的解决方案来将我的 iPhone 应用程序与我的 Grails 后端连接起来。过去,我尝试过 HessianKit 但它不再维护了。我也尝试过 cocoa-amf,但与 HessianKit 一样,它不支持开箱即用的身份验证。

似乎最广泛的选择是使用 RESTful 服务,但我想避免这种情况。每个人都知道对象关系阻抗不匹配,但对我来说,对象资源阻抗不匹配至少同样令人讨厌。我不想将对象序列化为请求并将响应解析回对象。我想像调用本地对象方法一样调用远程对象方法。

还有哪些其他选择? Grails/iPhone 远程处理最常用的解决方案是什么?

I'm desperately trying to find a suitable solution to connect my iPhone application with my Grails backend. In the past, I have tried HessianKit but it's not maintained anymore. I also tried cocoa-amf but like HessianKit, it doesn't support authentication out of the box.

It seems like the most widespread option is to use RESTful services but I would like to avoid that. Everyone is aware of object-relational impedance mismatch, but for me, object-resource impedance mismatch is at least as annoying. I don't want to serialize my objects into requests and parse responses back into objects. I would like to call remote object methods as if they were local.

What other options are there? What are the most used solutions for Grails/iPhone remoting?

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

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

发布评论

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

评论(1

物价感观 2024-11-03 09:16:35

我终于决定深入研究 RestKit,我不得不说它令人印象深刻,非常强大,并且邮件列表上的支持非常棒。这确实让 REST 开发变得更加容易。

I have finally decided to dig into RestKit and I have to say it's pretty impressive, very powerful and the support on the mailing list is awesome. This really makes REST development easier.

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