Which iphone data model to choose?
I need to get some data somewhere to put the graph. the data structure is like this:
- Item
- Name
- Year
- ShortInfo (mainly keywords and short texts)
- LongInfo (much text with videos/audios (urls)
a friend of mine told me I should do a plist and get it all in there, but what about a sqlite database? any advice?
considers
+2
a source to share
1 answer
If your dataset is rather small, then plists are easier to process than SQLite database. This is just one line of code to read plist into a familiar data structure such as an array or dictionary. SQL has advantages if your dataset is so large that it doesn't fit comfortably in memory, or if you need fast, flexible searches.
+2
a source to share