简体   繁体   English

iPhone应用程序数据库:MySQL和SQLite

[英]iPhone application database: MySQL & SQLite

Hi I am a student with little knowledge about iPhone application and its database. 嗨,我是一名对iPhone应用程序及其数据库了解甚少的学生。 However, I am tasked to develop an iPhone application for a company. 但是,我受命为一家公司开发iPhone应用程序。 This application must require users to do registering as member and reflecting their member points. 此应用程序必须要求用户注册为会员并反映其会员积分。

Currently, the company is using MySQL as their database for their current ongoing. 目前,该公司正在使用MySQL作为其当前数据库。 Whereas, after the implementation of the iPhone application which database should I use? 而在iPhone应用程序实施后,我应该使用哪个数据库? I am aware that iPhone only supports SQLite but how can I fetch the data from their current MySQL and make a linkage so it would be centralized and not having 2 individual database? 我知道iPhone仅支持SQLite,但如何从其当前的MySQL中获取数据并建立链接,以便将其集中化而没有2个单独的数据库?

It sounds like your bosses threw you into very deep water without knowing how to swim, first. 听起来您的老板首先把您扔到很深的水中,却不知道如何游泳。

There are a number of ways to answer your question, and I found a few related questions on various sites that might help you. 有多种方法可以回答您的问题,而且我在各种站点上发现了一些可能对您有帮助的相关问题。

How to access remote MySql database from iPhone App 如何从iPhone App访问远程MySql数据库

Connecting to a remote MySQL Database 连接到远程MySQL数据库

Access mysql remote database from iPhone 从iPhone访问mysql远程数据库

You might want to start with just writing a small, non-database-using iPhone app to start with and then once you get the hang of it, then reach out into wild world of talking to remote databases. 您可能想从编写一个小型的,不使用数据库的小型iPhone应用程序开始,然后一旦掌握了它,然后进入与远程数据库对话的狂野世界。

hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM