Join Drew Falkman for an in-depth discussion in this video Introduction to PHP and Flex integration, part of Flex 4.5 and PHP: Creating Data-Driven Applications.
PHP has grown to become one of the most well-used platforms for building powerful and dynamic web sites and applications. Adobe Flex has fast filled the need for building rich and interactive user interfaces. The combination is becoming an effective way to build user-friendly applications for the web and devices, and knowing when to use it will be an important step in the process. PHP is a scripted web application framework that allows for connecting to databases, interacting with services like email, talking to files, handling authentication, and all kinds of other stuff.
One question to ask is, is the application set unified? In other words, is there a benefit from having everything compiled into one single application? If so, Flex is definitely a good choice for that. Will the user benefit from rapid UI changes? In other words, quick animation, Flex and Flash handle very well. Do you want to provide mobile application functionality? If you want to compile to applications directly, using Flex 4.5 can be advantageous since it exports to iOS, BlackBerry tablets, and also Android.
If you want to provide web site access to mobile phones, HTML might be something you want to look into instead, given that iOS does not support the Flash Player in the browser. Does the richness of Flex provide advantages? Using things like the charting components, the drawing API for animation, all these kind of things, Flex and Flash excel at very well. Are there going to be multiple browsers accessing it? If so, HTML 5 may be an issue, as it's not supported by every browser.
- Understanding session management
- Accessing RESTful services
- Customizing service calls by passing parameters
- Handling raw XML and JSON data
- Exposing a PHP class as a Flex service
- Generating PHP services with Flash Builder
- Debugging in Flash Builder and Zend Studio
- Exchanging data from PHP to Flex and back
- Building a Master-Detail page
- Implementing pagination
- Creating a synchronized database in AIR
- Using server-side session data