PDA

View Full Version : Why use MySQL and PHP w/ Flash?


ct34
02-06-2005, 09:57 PM
I am wondering why we can't use flash with solely xml...

is it a problem with security or speed?

Dark_Element
02-06-2005, 10:13 PM
no its not completely a speed/security risk (though you can read XML directally in browsers). The idea of having PHP and MySQL is if you need something in the server end to handle large tasks such as retrieving+storing large datasets. Also Flash itself do not have any writing capabilities on the server end (since its not a server side thing). in addition to that PHP and MySQL can keep things like passwords hidden from the world

ct34
02-06-2005, 10:17 PM
hhhmm...

yeah. I was thinking of writing applications with just actionscript 2 and transfering the data to an xml file. but two problems arise, the speed of transfering data and the fact that actionscript 2 will never write to files on servers.

do you tihnk AS 2 will ever support serverside capabilities? it seems clientside... so I guess not.

heh, thanks.

CyanBlue
02-07-2005, 12:49 AM
The problem in your logic is that if you pass data to the XML, there is nothing that can write/update the XML file because you do not have the help of the server side script and ActionScript won't be able to handle that...

Flash IS client side scripting language, and I don't think Macromedia will ever do anything about that...