Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 17:06
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flex, Air, FlashBuilder, Catalyst (Moderators: ..:: Mazhar Hasan ::.., kofi addaquay)
| | |-+  Write to XML + PHP
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Write to XML + PHP  (Read 871 times)
worked
Seasoned Programmer
***
Posts: 129


View Profile Email
« on: 03/12/10, 14:19 »

Hey there-  I'm currently learning Flex 3, and am working on a simple app that reads and writes to an external XML file.  I've learned to successfully read the xml data, but am having trouble writing to the XML file with my PHP script.  Can anyone suggest a good tutorial on the subject?  Thanks!

Also, other posts here recommend that I write the data to a DB and generate the XML via PHP... is that a better option?

Oh and this is a web app, not AIR... in case that wasn't clear.  Thanks again, any help is appreciated!
« Last Edit: 03/12/10, 14:20 by worked » Logged
kofi addaquay
Global Moderator
Senior Programmer
*****
Posts: 450



View Profile WWW Email
« Reply #1 on: 03/12/10, 16:55 »

yes..go the db way...but even better, you dont have to generate the xml with php. flex has a wizard that will do that ALL for you.

create you db
then create a new flex php application
in flex builder...choose Data and Create Application from Database.

you should be able to handle it from there

Flex will create a php service you can use to CRUD data
« Last Edit: 03/12/10, 17:28 by kofi addaquay » Logged
worked
Seasoned Programmer
***
Posts: 129


View Profile Email
« Reply #2 on: 03/12/10, 17:35 »

Sounds excellent... I'll look into it.  Thanks!
« Last Edit: 03/12/10, 17:37 by worked » Logged
worked
Seasoned Programmer
***
Posts: 129


View Profile Email
« Reply #3 on: 03/13/10, 14:30 »

Found a good tut on youtube if anyone is interested in generating PHP, MySQL and Flex 3 Client-Server Applications:

http://www.youtube.com/watch?v=JiwN1PsrhHc
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!