Flash + XML or PHP?
Out of context: Reply #19
- Started
- Last post
- 24 Responses
- enobrev0
and to clarify a step further...
xml is a means of transporting data. It's not really meant to be a means of storing data, as it has too much overhead, ("too wordy") to store data efficiently.
It's a standard that allows developers to write to one specific format and expect everyone else to understand how to read and write in the same format.
And thankfully, macromedia was nice enough to include the tools into flash's framework, as did the php gods.
As far as data storage, you have apps like mysql, ms sql, etc, which efficeiently store data and allow you to go in and grab what you need VERY quickly. So you grab the data (with sql as kpl mentioned), format it into xml form, then point flash to that generated flash file.
flash, having the xml parser built in, knows exactly how to read the file and gives you an ugly array filled with your variables.
... hmm.. the things you'll write about when trying really hard not to do any work....