Archive for the ‘Flex and PHP’ Category

Flex 2 and PHP

August 27, 2007

Last week I walked through Mike Potter’s article on Integrating Flex 2 and PHP. I created the sample database on my Linux server. I created a simple form in Flex 2. I used Mike’s sample PHP script to write the new entries to the database. It was pretty simple. I also merged the PHP script with another script I have that sends an e-mail message with the data from the same form. It was a peice of cake.

It got a little complicated when I found out that the XML coming from the form I would be tying this into would not be a  flat structure with only key value pairs.  The developer building the form suggested that I install Zend.

Zend is not a bad platform if you are serious about using PHP.  I also found another good article about using JSON as your communication layer between Flex and PHP.  I will add both of these under my Flex Articles section.

You may also want to look under my Flex Resources section, where I will add a few links with good resources about PHP and Flex.