iOS的客户端服务器的方法 [英] iOS client server approach

查看:152
本文介绍了iOS的客户端服务器的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我熟悉的SOAP和Web服务的对等网络上的其它平台或客户端/服务器通信。什么是苹果相当于消息?

I'm familiar with SOAP and Webservices for peer-to-peer or client/server messaging on other platforms. What is the Apple equivalent for messaging?

我想放在一起,将管理一个协同工作环境的应用服务器。这将有200个,平均和最大的1000移动客户端在局域网上。例如,一台Mac和iPhone的200。我打算使用苹果的进取精神的方法来我们的私人(商业)应用程序分发到每一位iPhone手机的客户。

I'm trying to put together an application server that will manage a collaborative work environment. It will have an average of 200 and maximum of 1000 mobile clients on a LAN. For example, one Mac and 200 iPhones. I'm planning to use Apple's Enteprise approach to distribute our private (commercial) app to each of our iPhones clients.

该服务器可以将配置设置到每个客户端。服务器也将推动小组数据到客户端。客户端将在本地对这个数据执行的任务,并最终状态报告回服务器。客户可以从服务器请求更多的数据集。这些交流可以异步管理。

The server can push configuration settings to each client. The server will also push small sets of data to the clients. The clients will perform tasks on this data locally, and eventually report back status to the server. The clients can request more data sets from the server. These exchanges can be managed asynchronously.

有也有必要拥有对关键流程的同步交流。这是罕见的,但它是一个要求。

There is also be a need to have synchronous exchanges for critical processes. This is rare, but it is a requirement.

这需要被交换的数据是相当小的。这些客户端/服务器进程与时间有关,因此性能是至关重要的要求。

The data that needs to be exchanged is reasonably small. These client/server processes are time dependent, so performance is critical requirement.

该网络将不被共享,但需要严格控制(和快)。例如。它可以是卓悦,如果有一个令人信服的理由。

The network won't be shared, but needs to be tightly controlled (and fast). E.g. it can be Bonjour if there is a compelling reason for that.

我在寻找的建议在其上的Mac / iOS版的SDK组件利用。请留下第三方软件我们的讨论中。我必须知道苹果已经提供,并考虑外部软件之前存在哪些差距。谢谢你。

I'm looking for a recommendation on which components of the Mac/iOS SDKs to leverage. Please leave 3rd party software out of this discussion. I must know what Apple already offers and what gaps exist before considering outside software. Thanks.

推荐答案

如果你只打算使用的Mac和iOS产品则Bonjour是真的是你最好的选择。有一吨的原生方式来传输可以字节或对象的数据形式。

If you are only going to be using Mac and iOS products then Bonjour is really your best bet. There are a ton of native ways to transmit data in either byte or object forms.

有来自WWDC 2012一对夫妇的精彩的视频展示什么新的X code可以做创建客户端和服务器应用程序。这是保密协议,但您可能想看看有: https://developer.apple .COM /视频/ W​​WDC / 2012 /

There were a couple great videos from WWDC 2012 showing what the new Xcode can do to create client and server applications. It is under NDA, but you may want to take a look there: https://developer.apple.com/videos/wwdc/2012/.

另外你说你不想第三方,什么特别的原因?你会在卓悦的顶部使用一个开源层?

Also you said you did not want third party, any particular reason? Would you use an open source layer on top of Bonjour?

这篇关于iOS的客户端服务器的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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