RE: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Pete Hotchkiss
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,

RE: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Merrill, Jason
| E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Pete Hotchkiss Sent: Wednesday, February 01, 2006 4:17 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] XML Driven

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Nathan Derksen
This is a problem that has been addressed numerous times. I suggest that you search the archives at http://chattyfig.figleaf.com/ pipermail/flashcoders/ The summary is that the speed problem usually has little to do with the actual xml handling and more to do with how you are updating the

RE: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Merrill, Jason
The summary is that the speed problem usually has little to do with the actual xml handling and more to do with how you are updating the user interface, I'm sorry, but I partially disagree with that statement based on my experience. Components can take some time to render, sure, but for me, most

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Nathan Derksen
Yah, agreed. I just know from experience on the various boards that one of the most common mistakes for people to make is to update a combo-box or data grid for each iteration of the xml parsing loop rather than waiting until the end. That can lock up the player tight, while if you wait

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Nathan Derksen
To answer your question a bit more, there are a couple of approaches. One approach is to build in the filtering server-side, so that when you need a subset of the data for something, you send a request to the server, which does the filtering and only sends what is relevant as XML. This is

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-02-01 Thread Ing. Mario Falomir
Yep, the main part of the problem is the huge amount of data that it is handling, I guess... It doesnt query a DB , we generate all the needed info, such as catalogs for example, in the form of XML files. We did it this way because since its an app its going to be in CDs we did not want to force

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-01-31 Thread Sajid Saiyed
Do you need all the data beforehand? If not, Do paging with data by getting data in chunks from your DB. or As you mentioned, get data on demand. Thats how I recently solved a similar issue. -- Sajid On 1/31/06, Ing. Mario Falomir [EMAIL PROTECTED] wrote: Hi, I need some advice from you guys

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-01-31 Thread Daniel Smith
On 1/31/06, Ing. Mario Falomir [EMAIL PROTECTED] wrote: Hi, I need some advice from you guys :) I have an XML Driven FLash APP, Would it be possible to format the data as JSON on the server side? It'd be much lighter weight ... http://www.crockford.com/JSON/ specifically:

Re: [Flashcoders] XML Driven Application Driving me crazy :)

2006-01-31 Thread Ing. Mario Falomir
well, I will definetely take a look at it , thanks! On 1/31/06, Daniel Smith [EMAIL PROTECTED] wrote: On 1/31/06, Ing. Mario Falomir [EMAIL PROTECTED] wrote: Hi, I need some advice from you guys :) I have an XML Driven FLash APP, Would it be possible to format the data as JSON