IN THIS CHAPTER
Installing PHP with WampServer and MAMP
Creating a Flex project for use with PHP
Returning simple XML to Flex
Creating a Flex/PHP application with Flash Builder 4
Working with generated PHP services
RemoteObject and AMF with Flex and Zend AMF
PHP has become one of the most widely used application scripting frameworks on the Web. Originally standing for Personal Home Page, PHP has evolved into a high-performance application server technology that's used both to dynamically generate Web pages and to provide a middleware layer for rich client applications such as those built with Flex.
The term PHP is used to refer to both the server technology and the programming language used to create dynamic Web functionality.
In addition to its core feature set, PHP has extensibility features that enable developer s to create and add modules as needed. PEAR (PHP Extension and Application Repository), in the words of its creators, offers both a "structured library of open-source code for PHP users" and a "system for code distribution and package maintenance." It also encourages a standardized approach to formatting PHP code, including recommendations for indentation, identifier naming, and other issues that sometimes invite controversy between developers.
PHP is portable between operating systems. Binary distributions of PHP are available for these operating systems:
Mac OS X
SGI IRIX ...