iPhone应用程序和Web服务 [英] iPhone app and web service
问题描述
当我正在学习在iOS中开发时,我会制作一个iOS应用程序。
As I am learning to developing in iOS and I would make an iOS app.
我想在服务器上有一个数据库,应用程序的用户可以访问它。像迷你社交网络的东西。一个应用程序,您可以在其中创建用户并查看/修改数据库的数据。
I'd like to have a database on a server and the users of the app could access to it. Something like a mini-social network. An app where you can create a user and see/modify the data of the database.
好吧,我可能需要一个网络服务来让iPhone与服务器通信,但我一直在搜索和阅读信息,我不知道该怎么做它。
Well, I may need a web service to get the iPhone communicates with the server but I've been searching and reading info and I don't know exactly how to do it.
一本好的教程或文章要阅读?一些信息将不胜感激:)
A good tutorial or article to read? Some info will be appreciated :)
推荐答案
首先你需要一个主机和一个连接的数据库(可以在本地测试)
如何在.NET中创建Web服务的教程
< a href =http://davidwalsh.name/web-service-php-mysql-xml-json =nofollow noreferrer>或用PHP
First you need an host and a connected DB (can be testen local) A tutorial how to make a Webservice in .NET Or in PHP
我在输出中使用JSON进行识别。
I recogment using JSON as in an output.
希望这对您有所帮助。
这篇关于iPhone应用程序和Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!