I have an existing HTML5 web app which I am going to port to a native iOS app. The current app uses MongoDB (i.e. JSON) to store all server-based data. The MongoDB server will still supply central data services to the iOS app, but large quantities of data will also be held on the iOS client (e.g. 100,000 name and address records).
It seems my choices are to use SQLite or some sort of JSON framework. The name and address records need to be locally searchable using a high-performance predictive search (i.e. display search results while user types).
Can anyone advise on which data architecture/strategy would be most functional/performant on the iPad?
btw – I am probably going to use MonoTouch to build the iOS app.
Many thanks.
Go SQlite, and investigate Apple’s CoreData as an option as it’s backed by sqlite and a very complete package for database storage within an iOS app.
If you want to interact with the sqlite database directly checkout FMDB as a good objective c abstraction layer.
A comercial option could be a package I’ve seen called Locayta Search Mobile – they have some good demo code