O'Reilly logo

Flash® Builder™ 4 and Flex® 4 Bible by David Gassner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 29. Integrating Flex Applications with PHP

IN THIS CHAPTER

  • Understanding PHP

  • 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

  • Using 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.

Tip

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:

  • AS/400

  • Mac OS X

  • Novell NetWare

  • OS/2

  • RISC OS

  • SGI IRIX ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required