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

Wailord

macrumors 6502
Original poster
Apr 29, 2007
333
0
I'm weighing the pros and cons of using either XML files or SQLite files within an application on the iPhone that will be receiving weekly deliveries of new content. The files won't be huge (maybe 30kb at most). Whichever I choose needs to be cost effective and highly compressable if possible. At this point I understand that XML will be easier to implement, but SQLite is supposedly faster- which would you guys choose and why?
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
I'd start with the easier solution being XML. Then if you notice slowdowns or high memory use, try SQLite.
 

mclifford82

macrumors newbie
Jun 11, 2009
4
0
Burnsville, MN, USA
If you are familiar with one or both already, go with what you know. If you don't know either, XML would probably be quicker to pick up than SQL.

I'm more comfortable with SQL than XML, so unless I come across an instance where I have to use XML, I'll opt for SQL.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.