I work with Flex and PHP.
I do a query on mysql database and use php function to create xml.
The recordset may contain around 90000 rows. So generate the xml file is slow, around 50s.
I don’t want to make a dump, but only create a file to send to Flashbuilder to create a dataprovider.
I tried to use several processes:
- DOMDocument
- XmlWriter
- SimpleXMLElement
But with those methods, time to create file is to slow.
Do you have another idea to accelerate process (mysql side or php side).
Thanks
I found a good solution: create xml file with mysql command.
For example:
Thanks