开发者

database connection in iphone

How t开发者_运维知识库o connect to remote mysql from my iphone application?


You will need to develop a web service that can receive your queries. If you are not familiar with some server side language such as PHP, Python, or Ruby, you will have a tougher time. I would recommend that you use a REST framework on the server side that abstracts the database queries for you. Ruby on Rails is a good candidate for this. I'm sure others can recommend other frameworks.

Once you have developed your server side code, you can then access resources from the server with simple REST URLs and NSURLConnection or the ASIHTTPRequest library.

I would read up on each of these things:

  • REST
  • Ruby on Rails
  • ASIHTTPRequest
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜