From php|architect's ART article repository today, there's part two in the series following the creation of "rich internet applications" with PHP and that ever-helpful Adobe product line, their Flex products. This time, they look at how the the AMFPHP (flash remoting for PHP) library can make the connection even easier.
They start with links to the downloads for AMFPHP, and mention to "just follow the instructions" to get it set up. They provide a "create database" string to feed into MySQL before getting into the actual code for the application. The functionality grabs the list of users from the database table and stores it where the Flex interface can get to it.
The next step - generating the interface - is a simple one. They provide the code to cut and paste in to display all of the information the previous script had pulled out (in a datagrid).
Finally, they pull it all together, using the AMFPHP library to bridge the gap between the PHP script and the Flex interface, pushing the data into the Flex application.