PHP 5 Power Programming by Andi Gutmans, Stig Bakken and Derick Rethans

April 28th, 2005 by Chris McAvoy in

Prentice Hall PTR, 2004

$39.99 US

ISBN: 0-131-47149-X

PHP, arguably the world's best Web scripting language, recently received a significant overhaul. Version 5 expands the object model of the language, adds support for new MySQL 4.x features and speeds up execution.

However, PHP 4 scripts may not work in PHP 5 without some rewriting. PHP 5 Power Programming is an excellent book for PHP 4 developers in need of a PHP 5 introduction. It's also a good book for anyone proficient in another programming language, such as Java, Perl or Python, who now wants to get started with PHP.

The book is co-authored by Andi Gutmans, Stig Bakken and Derick Rethans, three key contributers to the PHP language. They bring an intimate knowledge of the language to the book and provide anecdotal evidence as to why PHP has developed in the manner it has. Their writing style is clear, focused and enjoyable.

For PHP developers looking for a PHP 5 transition guide, this book works perfectly. The authors are candid about what they've broken in the transition from PHP 4 to PHP 5. It doesn't stop there, either; coverage of the new PHP 5 object model is excellent. Some PHP developers may not understand the usefulness of new OO concepts introduced in PHP 5, so the authors included a chapter on applying OO design patterns to PHP.

PHP and MySQL go together like peanut butter and jelly. The improved MySQL libraries for PHP further cement this relationship. PHP 5 introduces native support for SQLite, a powerful database option for PHP developers without access to another database.

This book belongs on the desk of anyone considering a move to PHP 5. It serves as a road map for upgrading to the latest incarnation of PHP and as a reference for anyone who wants to expand their PHP object-oriented design skills. My copy already has a dozen or so sticky notes marking important sections and twice as many dog-eared pages. It has been an invaluable resource in my exploration of PHP 5.

__________________________


Special Magazine Offer -- 2 Free Trial Issues!
Receive 2 free trial issues of Linux Journal as well as instant online access to current and past issues. There's NO RISK and NO OBLIGATION to buy. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Sorry, offer available in the US only. International orders, click here.

Featured Videos

Non-linear video editing tools are great, but they're not always the best tool for the job. This is where a powerful tool like ffmpeg becomes useful. This tutorial by Elliot Isaacson covers the basics of transcoding video, as well as more advanced tricks like creating animations, screen captures, and slow motion effects.

Shawn Powers reviews the HP Mini-Note portable computer.

Thanks to our sponsor: Silicon Mechanics

Silicon Mechanics is a leading manufacturer of rackmount servers, storage, and high performance computing hardware. The best warranty offerings available are backed by experts dedicated to customer satisfaction.

From the Magazine

August 2008, #172

There's nuttin like a Cool Project to give you some relief from the summer heat, so get out your parka cuz we got a bunch of em. First up is the BUG, not a bug, The BUG. It's got a GPS, camera and more, in a hand-sized package that's user programmable. The BUG does everything. It's both a floor wax and a dessert topping. Get one now. Need a software version of a Swiss Army knife? Take a look at Billix, and don't leave home without it. Then, chew on this one, an X server on a Gumstix device driving an E-Ink display. Need more storage? How about 16 Terabytes? Can do.

And, of course, we have the usual cast of characters: Marcel, Reuven, Dave, Kyle, Doc, plus the new kid on the block Shawn Powers. But it doesn't stop there: build a MythTV box on a budget, build your own GIS system, set up the tools to monitor your enterprise and more. Finally, remember The War of the Worlds? Now you can play too.

Read this issue