This content has been marked as final. Show 8 replies
I have been professionally developing in the J2EE arena for five years now and have many moonlighting sites that I have made using PHP and MySql. I have jusy recently in the last month of so started playing with Flex and I have hooked it up to one of my PHP sites. I have not even used AMF, I simply downloaded the Flex SDK and use either an HTTPService request (to throw data at a datagrid) or URLLoader() and URLRequest() to store data locally in actionscript. The hook up between PHP and Flex was pretty easy. I just got stuck for a little bit with a security issue and i had to put a crossdomain.xml into my remote location because my PHP was being hosted publicly and I was running my Flex locally.
You don't have to use anything else -HTTPService on the client side and PHP on the server side.
I am also trying to develop a web app using flex and PHP, tried some samples from Mike Potter and it runs great... I just want to have some general guidelines on what are the most common used codes to develop a PHP based flex app? I am really a beginner at Flex and PHP, coz i am interested in Flex so i decided in getting it...
Thanks for the help...
Thankyou ChiefRocka00 and Dmitri,
all you need to use is HTPPSERVICE, - GET , POST etc. then you can have your request tag with any data you want in and out ,
Catch one of the webcasts. That cleared things up for me. web service is XML, so it is slower than the binary data transfers (amf or weborbs). I am a complete newb to flex...but that is the messag that was conveyed, the more data, the bigger the benefit of the amf stuff.
I am only using the serbvice though, and it is simple compared to what would be required in c# or php to consume the web service.
Yesterday, I and another responder posted code examples of how you do HTTPService calls to a php script. Today those articles are gone. How come? Is that not allowed? To me it is far easier to look at a code example, than to read through pages of documentation that probably wasn't written by a programmer.
Opps, sorry. found the missing posts on another question. Too much coffee. Not enough sleep.