Sample Code From PHP / Flex e-Seminar

Send to friendPrinter-friendly version

The sample code from last week's PHP / Flex e-seminar is now available, if you're interested in downloading it. To build the AMFPHP sample, you'll need to add a line to the Flex compiler: --services "services-config.xml". The JSONWithPHP sample requires the corelib library, which isn't included in the above .zip file, but is available here. You'll need to link the corelib.swc file to your Flex project, by right clicking on your Flex project, selecting Properties, clicking on "Flex Build Path", then the "Library Path" tab, clicking on "Add SWC" and adding the corelib.swc file. You can also do this when you are creating a new Flex application, in the new application wizard.

If you have any questions, or are new to Flex and PHP, you should download the Flex / PHP Test Drive from flex.org/php. That page also has a link to the PHP FlexCoders email list, where you can post questions about Flex and PHP. If you have any questions about the code in particular, you can post them to this blog entry, and I'll be happy to answer them.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

You should write a Book

You should write a Book about PHP integration and flex or even create a tutorial video on Lynda.com.. That would be great, there's not as much info with the php-flex combination comparing to Coldfusion, Ajax or .net with flex.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.