Web服务的移动必要性必要性、Web

2023-09-06 15:55:59 作者:含著眼淚微笑°

我有一个网站,我需要做出对Android和iPhone的应用程序和应用程序与服务器进行通信,与Facebook类似app.Do我需要网络服务如SOAP为this.I阅读他们的文档,但如何必要是他们和他们的主要目的是什么?我可以这样做,而不使用Web服务?我的网站是codeigniter

I have a website and i need to make an app on android and iphone and the app has to communicate with the server,similar to facebook app.Do i need web services like SOAP for this.I read their documentation but how necessary are they and what is their main purpose? Can I do the same without using web services? my website is in codeigniter

推荐答案

如果您需要为您的应用程序实现Web服务,我建议采取一看的 codeIgniter REST服务器。这提供了实现REST Web服务,这是重量更轻,更易于使用,而且比SOAP更flexibile一个简单的方法。

If you need to implement web services for your app, I recommend taking a look at CodeIgniter Rest Server. This provides an easy way to implement REST web services, which are lighter weight, easier to work with, and more flexibile than SOAP.