I am new to iOS development. How to save data (say user information) over the network into central database? My application will take user information and store it into central database.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is not a trivial ‘the answer is this…’ kind of questions.
For what it is worth, you would need to set up some form of server application – perhaps using a web MVC framework like Rails, Django, Grails, ASP.NET MVC – providing a nice RESTful interface to some backend database, passing data around in JSON documents.
Here is a reference to the iOS API end of things:
URL Loading System
Since you are using PHP – you might want to write a RESTful API for the database operations you require. A SO question about this is found here
And here is a tutorial describing how to create an API in PHP for an online leaderboard – which should get you started:
Online Leaderboard for iPhone game in PHP