[英]Best way to make a remote database driven iphone application
I have a school project that i think i can do with the concept of secure database driven application , can anybody help me how to do that because i am confused with method will be best and secure. 我有一个学校项目,我认为我可以使用安全的数据库驱动的应用程序的概念来做,任何人都可以帮助我如何做到这一点,因为我对方法的理解是最佳和安全的。 Tutorial link will be good
教程链接会很好
It is relatively simple. 这比较简单。 You need to send an HTTP request to your server.
您需要向服务器发送HTTP请求 。 I like using a JSON object .
我喜欢使用JSON对象 。 Or you can just stick everything into a POST .
或者,您可以将所有内容粘贴到POST中 。 If you are just pulling data from a server and not sending any form the iPhone, you can use this tutorial .
如果您只是从服务器提取数据而不发送任何形式的iPhone,则可以使用本教程 。 Your server then can update or select data in a database using your chosen web dev language.
然后,您的服务器可以使用您选择的Web开发语言更新或选择数据库中的数据。
hi friend i think you are talking about to use webservices . 嗨,朋友,我认为您正在谈论使用Web服务。 in this the data is kept in server and you have to retrive it from server for this you hav to first establish connection using asihttpconnection delegate and parse that data using nsxmlparserdalegate
在这种情况下,数据将保存在服务器中,因此您必须首先从服务器中使用asihttpconnection委托建立连接并使用nsxmlparserdalegate解析该数据,
thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.