Hi,

You can send following things with php and flex app:-

1) name-value pairs (url-encoded form)
2) xml data
3) SOAP based webservices.

Use HTTPService or WebService tag in Flex app. You don't need to write a
xml file on disk, instead send request to php page, it would generate
xml and send back to flex client.

HTTPService can convert xml to object, so you don't need to parse it.

Check "Data Services" section in flex docs. Ted has posted about
HTTPService
:http://www.powersdk.com/ted/2005/07/flex-mxhttpservice-tricks.php

-abdul



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of juyalmanu
Sent: Friday, July 01, 2005 9:48 PM
To: [email protected]
Subject: [flexcoders] XML, PHP and Flex

Dear all
I have one more question regarding data access using flex.
I am working with flex, php and apache. I am trying to send the 
request from flex to php and from there retrieve the data from the 
database (populate textfields and combo boxes in flex). 

I trying to write the data into an xml file in php and have the 
actionscript parse the file (I am not sure if this the right method. 
If not can anyone give me some direction in the right path). If this 
correct than also I need help in how to go about it. 

Basically, I am very new to flex and actionscript but learning them 
fast.

--Manu




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to