Computer Bookshelf

Foundation PHP 5 for Flash

David Powers

friends of ED, March 2005

Foundation PHP 5 for Flash book coverAre you a reasonably experienced Flash user who has mastered the basics, but wished you could take your SWFs further into the realm of dynamic data rich applications? Well, look no further.

Required reading... one of the most important new Flash books to come out in a long time.

Sham Bhangal

Foundation PHP 5 for Flash brings together three of the web's hottest technologies—Flash, the server-side language PHP, and the MySQL database system. It's bang up to date, using ActionScript 2.0, PHP 5.0, and MySQL 4.1, but has been designed to be version-neutral. In other words, you can be confident that you're working with the latest standards, but that your applications won't break if deployed on an older server.

At each stage you are given an overview of a new area of PHP/MySQL, introducing you to the syntax and showing how it compares to ActionScript, and then integrating it with Flash to produce increasingly sophisticated applications. For example, earlier chapters cover things such as getting data from PHP to Flash and back again, variables, arrays, string manipulation, validating user input, and feedback forms. Later on, it moves on to more advanced subjects such as creating databases using MySQL Monitor and phpMyAdmin, manipulating database data with a Flash interface, displaying data from an RSS feed in Flash, persisting data with sessions, and creating a full blown content management system.

In addition, to get you up and running, the book features a detailed guide to setting up your environment—PHP, MySQL, and the Apache web server—along with extensive troubleshooting information.

PHP is the language of choice on nearly 18 million domains, and MySQL has more than five million active users, including industry leaders like Google, the Associated Press, Sony, and NASA. They're open source and free; and with the help of this book, you'll see that they're easy and fun to learn.