开发者

database connection in iphone

开发者 https://www.devze.com 2022-12-11 03:12 出处:网络
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

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

精彩评论

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