开发者

How to insert, update, delete from remote database from within an iphone app

I am making an app for my msc project for which I need to connect to a remote mysql database and need to do insert, update and delete from my ap开发者_如何学Pythonp. What is the basic code for that?

I'm totally new in this platform....


You can develop REST full webservices that would perform all the operations on your database. You can invoke those webservices from your iPhone app then.


The webservices that work best for iPhone are REST full webservices. You can develop them either in Java or .Net. You may find lots of tutorials on the web related to them. For the database you can use any one that suits your purpose like MySQL (which is open). For Java webservices, you can look at Netbeans tutorials to develop webservices using Netbeans IDE. They would be a good starting point. Netbeans is the IDE you can use to develop REST full webservices.

The response from the webservice can be either xml or json string. You will be able to configure that. There are lots of frameworks available for parsing either json or xml on iphone.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜