
As rich Internet applications (RIAs) built with Adobe Flex become more widely adopted, there is a growing demand for applications that can combine the user interface (UI), media, and client-side benefits of Flex with the power and versatility of a server-side language like PHP. Tight integration between Flex and a server-side language means that your users will have an intuitive, engaging user experience with all the functionality they need. For developers, tight integration between PHP and the Flex development environments can provide big benefits by ensuring a smoother workflow for coding, debugging, and managing a project. You can make the most of such a unified environment by using Adobe Flex Builder and Zend Studio for Eclipse together.
Because Zend Studio for Eclipse and Flex Builder are both based on the Eclipse integrated development environment (IDE), the workflows and interface will be a familiar sight to those with experience in any of the three. Both Zend Studio and Flex Builder also include similar coding features such as—code folding, highlighting, and completion—and similar project and folder structures. Thanks to this common ancestry, you can spend less time getting acclimated and more time developing.
The examples that follow use a Windows XP computer running a default installation of WAMPServer. Do not use the following samples on a production server; they have not been tested in such an environment and are intended only for informational purposes.
In order to make the most of this article, you need the following software and files:

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
Richard Bates is a web application developer and consultant in Athens, GA. For the last eight years, Richard has worked in this capacity in a wide spectrum of industries, with clients ranging from telecom and health care to leisure and real estate. He currently works as a Flex/AIR and PHP developer with XIG Networks, focusing on e-commerce and interactive promotional applications.