Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Adobe Developer Source:
Using PHP and Flex to Browse a MySQL Database
Jul 20, 2006 @ 19:12:31

The Adobe Developer Source has posted a new tutorial showing how to, with the combination of PHP and Flex, to browse the contents of a MySQL database.

One critical element to remember about programming with Flex is that it cannot connect to a database directly - it requires some form of middleware in order to access data. You'll be using PHP in order to generate the XML files that Flex will use to manipulate the data from the database.

PHP plays the middle-man in this lengthy tutorial, passing XML messages back and forth between the Flex application and interpreting it into MySQL queries and results. They take the PHP script through, step by step, to ensre you know exactly how it works. Next up is the Flex, complete with the code listing to create the simple database browsing application.

There's explainations, screenshots, and even a little ActionScript here and there, but in the end, you'll have a light, simple database browser to view the contents of your table.

tagged: flex adobe mysql database middleman xml messages flex adobe mysql database middleman xml messages

Link:


Trending Topics: