Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ChrisA

macrumors G5
Jan 5, 2006
12,555
1,666
Redondo Beach, California
...
Perhaps there is a better DBMS to use with Obj-C? It's for a class so it has to be a database, not a file system.

If it is for a class assignment why care if it is "universal". It's throw-away code. The best thing to do is to go with what you know.

If you want "universal" then write to an ODBC interface and then you can swap in or out any DBMS you like. ODBC does force you to write to the lowest common denominator SQL but for a class assignment "common SQL" is not bad.

We can argue over which is "best" but for a class project you will likely not have 100 million rows of data in your tables and with modern DBMS servers anything smaller than that caches in RAM and is always fast.
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
I haven't used mysql much, but i would assume there is a C library for it... why not just use that? If you want, you can write a very small Objective-C class to wrap the C calls.

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.