PHP 5 In-Depth for the Already Initiated
OK, so you've created your first web page with PHP and MySQL and it's all right--it does what you want--but you want something more. Something in there is lacking. You've been searching for the best way to get your object-oriented applications working properly, or you need to find a better way to assimilate your data graphically for your boss and the only computer technology he understands is the World Wide Web. Welcome to the world of power programming with the latest version of PHP.
One of the latest books in the Prentice Hall's Bruce Perens' Open Source Series is this one called 'PHP 5 Power Programming.' Written by Andi Gutmans, the lead PHP 5 designer, Stig Saether Bakken, the creator of PEAR, and Derick Rethans, a key PHP contributor, this book is a self-proclaimed tome of wonders which contains insights into all the key features of the latest version of PHP and the keys to unlocking all its wholesome goodness.
After spending a little time showing the evolution of PHP, the authors dive right in. They only devote a brief introduction to the basics of PHP. Clearly, if all you've done is convert a six-line BASH script into PHP, you might check out a less involved reference first. You're expected to be tired with the PHP basics already when you dive into this work, because it's barely a chapter gone before you start getting involved in advanced constructs like iterators, object polymorphism, overloading and exception handling. The best part is the authors never leave you floundering about a simple topic just because they're in the midst of a complicated one. They never let you forget how to unset a cookie, while explaining all of the safeguards necessary to maintain a safe operating environment for a published Web application.
Some of the topics that can be found in this very involved book are: stucturing and designing Web applications, integration with MySQL for data storage and recovery, working with the GD libraries for extensive graphical manipulation, and a detailed discussion and reference on PEAR, the PHP Extension and Application Repository, which does for PHP what CPAN does for Perl. There are also sections with great insite into using PHP with XML and SOAP, regular expressions and streams. And there's even a detailed chapter towards the back about benchmarking your PHP performance and enhancing its operation. Three appendices provide information on the packages available through PEAR and PECL, the phpDocumentor application and Zend Studio.
For a technical manual, this book is surprisingly well laid out. You can use the index in the back to find the topic of your interest, but just skimming through reveals that everything is put where you can find it. Reading the book cover to cover works well also. I doubt the average reader will skip over much as this reference is chock full of good information and written with a style that keeps the reader interested, even if it's a topic he might already be familiar with.
For anyone who already has the fundamentals of PHP in pocket, but wants to get into the nuts and bolts of the new version and explore all of the depth and richness of some of its advanced features, this book is definitely a keeper. At 689 pages, it's long enough to contain a treasure trove of information, but short enough not to turn anyone away by its sheer volume. The best part is, all of this information is straight from the guys who know it best, so you can be sure that all of the best tips are included. And by the end of the book it's clear that PHP has evolved a great deal more robustness than it's original title and function of hypertext preprocessor had likely ever imagined.
Was this review helpful? Yes NoThank you for your feedback.
Report this reviewThank you, this review has been flagged.
Overview
"This book, written by my colleague, Andi Gutmans, and two very prominent PHP developers, Stig Bakken and Derick Rethans, holds the key to unlocking the riches of PHP 5. It thoroughly covers all of the features of this new version, and is a must have for all PHP developers interested in exploring PHP 5's advanced features"
—Zeev Suraski, Co-Designer of PHP 5 and Co-Creator of the Zend Engine