Pages

Tuesday, April 2, 2013

Database in iOS App

Hi,

I'm trying to develop an iOS app but I'm not sure of what's the best option to store and manage data.

My starting point is a MySQL database; I've already written the code to access my database (using PHP) and perform some analysis on the stored data. E.g., I've tables to store user infos, for bank transactions, and so on; I can see the list of the transactions for a single user, categorize the transactions, ecc.

This works well for a browser but I'd like to repeat the exercise with an App (iOS for now and OS X later).

Even if I know about object oriented programming (I work using C++), I'm new to Object-C and this is my first App so I still have to learn a lot about XCode, iOS SDK and other stuff.

 

Now my question:

what's the easiest way to reproduce my data structure?

 

Googling a bit I've seen that the two most used approaches are to manage data through SQLite or Core Data. Both these options are not directly compatible with the DB I already have; this means that portability becomes another important variable if I want to develop for different frameworks.

 

Thanks in advance for any suggestion! I will really appreciate if you could also point me to tutorials or guides regarding this topic.

 

 

Bye...


View the original article here

0 comments:

Post a Comment