Just clarify a few tings on this.

This is an App running on a CD - that queries a DB which is online?

I'm guessing that part of the problem is the sheer volume of data being
passed back to the App. XML is great when there is a reasonable amount
of data to parse, is this gets significantly large, then the XML object
can take a while to load and parse this data in.

If this is the case, can you break the data up into smaller chunks ?

Also what are you doing to 'search' the XML once it's loaded. If you
haven't already done so look at Xpath - makes searching so much easier.

Finally, if there is a server side tier to this, think about
FlashRemoting - it will show a significant performance improvement for
you.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ing.
Mario Falomir
Sent: 31 January 2006 17:34
To: Flashcoders mailing list
Subject: [Flashcoders] XML Driven Application Driving me crazy :)


Hi, I need some advice from you guys :) I have an XML Driven FLash APP,
basically it's a tool that displays charts and data in grids,
containers, etc...that my client will handout in CDs. So at the
beginning of the development process I thought XML would suit perfectly
in the purpose of this app. But it happened that the DB used to generate
the apporpiate XML files that my app consume had grown amazingly so
eventually my app (exclusively the part that searches for an specific
registry entry) turns very slow and sometimes (rarely but happens) it
crashes due to the exhaustive loops and interations i do in order to the
search/display data of an specific registry and filtering functions.

So i thouhgt, upon your experience,  to ask how would you do to optimize
this thing or what its the best way to do the queries to an XML in order
smooth things a little bit more :) Or what approaches (or guidelines )
do you use when you have to develop an app. that will have XML to serve
as its DB. Do you load everysingle XML at once ? on demand ? etc ?

Thanks in advanced!
Mario
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to