Re: Newbie: Advice needed on "XML App"
Re: Newbie: Advice needed on "XML App"
- Subject: Re: Newbie: Advice needed on "XML App"
- From: Bryan Bonczek <email@hidden>
- Date: Mon, 12 Sep 2005 11:02:20 -0400
On Sep 12, 2005, at 10:10 AM, Joachim Bondo wrote:
Dear experts,
I'm new to Cocoa programming and find the amount of information
overwhelming. To limit the aggravation, I'd like some pointers to
relevant information and advises as to what classes I should base
my application on.
I want to develop an application that will parse a quite big XML
file (1-3MB, 1-5,000 records, or even more), process the
information, possibly writing the data to a local database (for
performance reasons if anything gained) and display the information
in a custom table/matrix view. The XML file will be downloaded
daily, the information retrieved/queried much more often. The
application is not document based, as there is only one XML file.
In many aspects the application resembles iCal quite a lot (read-
only, however).
Now all the questions start to crop up... Should this be a Core
Data app? What classes do I use to read and parse the XML file
with? NSXML or CFXML classes? Do I write the data to a local
database for faster queries? Which one? Any good online articles or
sample code that will get me started?
For parsing large files, I recommend using the NSXMLParser class.
You can check this link for more information:
http://developer.apple.com/documentation/Cocoa/Conceptual/
XMLParsing/index.html#//apple_ref/doc/uid/10000186i
If you don't want to use a database, you can try using XQuery to
query XML files. I have not used this class so I'm not sure of its
performance, maybe someone else can comment on that.
Check out this link for more information:
http://developer.apple.com/documentation/Cocoa/Conceptual/
NSXML_Concepts/index.html
Thanks in advance,
Joachim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40racepointmedia.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden