iPhone Grails 远程选项
我正在拼命寻找合适的解决方案来将我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我终于决定深入研究 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.