Re: XML Datasource question on persistence
Re: XML Datasource question on persistence
- Subject: Re: XML Datasource question on persistence
- From: Chris Idou <email@hidden>
- Date: Sun, 16 Nov 2008 16:17:06 -0800 (PST)
I would say it depends on how big the dataset is. If the data is small and/or you have to slurp it all into memory anyway, then I like the simplicity of just keeping it as XML. But if the data is arbitrarily large and/or you don't want it all in memory at once, then going to sqlite becomes somewhat of a necessity.
--- On Sun, 16/11/08, Mark McCray <email@hidden> wrote:
From: Mark McCray <email@hidden>
Subject: XML Datasource question on persistence
To: email@hidden
Received: Sunday, 16 November, 2008, 1:18 PM
Hey there,I'm wondering if anyone has any guidance on something.
I'm getting an xml datafeed every so often that should populate data for my
iphone app.
I could keep this file local and read every time the app starts up and
update it every so often from the web. I could also parse the xml into a
sqlite db and use the sqlite db as the datasource for the app.
I just wonder if anyone has any opinion on how best to persist the data.
Thanks,
Mark
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Make the switch to the world's best email. Get Yahoo!7 Mail! http://au.yahoo.com/y7mail
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden