dpaksp
dpaksp

Reputation: 737

database connection in iphone

How to connect to remote mysql from my iphone application?

Upvotes: 0

Views: 268

Answers (1)

Matt Long
Matt Long

Reputation: 24466

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:

Upvotes: 1

Related Questions