与iPhone的通信 - 互联网 - .NET Web服务/ PHP的Web服务 [英] communication with iPhone - Internet - .net Web service / php web service

查看:172
本文介绍了与iPhone的通信 - 互联网 - .NET Web服务/ PHP的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从下面的链接。


<一个href="http://stackoverflow.com/questions/1290924/iphone-interaction-with-asp-net-webservice/1503206#1503206">http://stackoverflow.com/questions/1290924/iphone-interaction-with-asp-net-webservice/1503206#1503206


@Pravara - 问了一个问题回答

@Pravara - Asked a Question in answer.

现在的问题是这样的。


大家好,

是XML仅仅是.NET Web服务和iPhone之间的沟通方式?我已经实现了,在我的应用程序,但我面对的性能问题,因为需要时间来扫描每个标签的XML需要时间。

Is the XML is only way to communicate between .Net web service and iPhone? I have implemented it, in my application, but i am facing performance issue, as the time required to scan each tag of XML takes time.

请任何人可以提出任何方式的通信比响应发送XML等。

Please can anybody suggest any way for communication other than sending XML in response.

感谢名单提前。 : - )

Thanx in advance. :-)


我想知道是相同的。

在此先感谢与我们分享你的知识。

Thanks in advance for sharing your knowledge with us.

萨加尔

(我知道Web服务是指本身XML,但我发现它非常典型的,如转移整个数据库的XML,而创建Web服务与;再由iPhone解析它 - 就像费力的工作。)

(I know web service means itself XML, But I found it very typical, like transfer entire database to xml while creating web service & again parse it by iPhone - is like laborious job. )

推荐答案

JSON是一种更好的通信协议,因为它融合在我看来,小尺寸和易用性。你想看看 JSON.framework ,的 TouchJSON 和的 ObjectiveResource

JSON is a better communication protocol because of it's small size and ease of integration in my opinion. You'll want to check out JSON.framework, TouchJSON, and ObjectiveResource

这篇关于与iPhone的通信 - 互联网 - .NET Web服务/ PHP的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆