Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

PHP 5 Power Programming [Paperback]

Andi Gutmans , Stig Bakken , Derick Rethans
4.3 out of 5 stars  See all reviews (15 customer reviews)

List Price: $48.99
Price: $38.43 & FREE Shipping. Details
You Save: $10.56 (22%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 2 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
Want it Tuesday, July 15? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Books for Pragmatic Programmers
Find resources for various programming needs, including agile teams, programming languages, and the life of a programmer, in the Pragmatic Bookshelf.

Frequently Bought Together

PHP 5 Power Programming + Advanced PHP Programming
Price for both: $78.64

Buy the selected items together
  • Advanced PHP Programming $40.21

Customers Who Viewed This Item Also Viewed

Editorial Reviews

From the Back Cover

"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

  • Expert PHP 5 programming techniques, direct from PHP 5 co-creator and key developers
  • Definitive coverage of the PHP object model, design patterns, XML/SOAP integration, and more
  • Solid introduction and expert insights into performance tuning, PEAR, extensions, and database access
  • The definitive introduction to PHP 5's advanced features!
  • The definitive introduction for today's most powerful PHP 5 techniques

In this book, PHP 5's co-creator and two leading PHP developers show you how to make the most of PHP 5's industrial-strength enhancements in any project—no matter how large or complex. Their unique insights and realistic examples illuminate PHP 5's new object model, powerful design patterns, improved XML Web services support, and much more. Whether you're creating web applications, extensions, packages, or shell scripts—or migrating PHP 4 code—here are high-powered solutions you won't find anywhere else.

Review PHP's syntax and master its object-oriented capabilities—from properties and methods to polymorphism, interfaces, and reflection

  • Master the four most important design patterns for PHP development
  • Write powerful web applications: handle input, cookies, session extension, and more
  • Integrate with MySQL, SQLite, and other database engines
  • Provide efficient error handling that's transparent to your users
  • Leverage PHP 5's improved XML support—including parsing, XSLT conversions, and more
  • Build XML-based web services with XML-RPC and SOAP
  • Make the most of PEAR: work with the repository, use key packages, and create your own
  • Upgrade PHP 4 code to PHP 5—compatibility issues, techniques, and practical workarounds
  • Improve script performance: tips and tools for PHP optimization
  • Use PHP extensions to handle files/streams, regular expressions, dates/times, and graphics
  • Create original extensions and shell scripts

If you're a software developer new to PHP, you'll leap quickly into PHP and its new object-oriented capabilities. If you're an experienced PHP programmer, you already recognize PHP's convenience and simplicity. Now, discover all of its extraordinary power!


At this book's link to, download a fully functional 90-day version of Zend Studio, today's breakthrough tool for developing, managing, and debugging PHP code.

Series Editor Bruce Perens' is an open source evangelist, developer, and consultant whose software is a major component of most commercial embedded Linux offerings. He founded or cofounded Linux Standard Base, Open Source Initiative, and Software in the Public Interest. As Debian GNU/Linux Project Leader, he was instrumental in getting the system on two U.S. space shuttle flights.

© Copyright Pearson Education. All rights reserved.

About the Author

ANDI GUTMANS co-created PHP 3 and all versions since. A member of the PHP core team, he is one of the world¿s most highly regarded PHP developers.

STIG SÆTHER BAKKEN, also a member of the PHP core team, created PEAR: PHP Extension and Application Repository, the framework and global distribution system for reusable PHP components. Gutmans and Bakken are members of the PHP Hall of Fame.

DERICK RETHANS is a PHP code contributor and leader of the PHP QA team.

Product Details

  • Paperback: 720 pages
  • Publisher: Prentice Hall; 1 edition (November 6, 2004)
  • Language: English
  • ISBN-10: 013147149X
  • ISBN-13: 978-0131471498
  • Product Dimensions: 1.4 x 6.9 x 9.2 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (15 customer reviews)
  • Amazon Best Sellers Rank: #1,790,811 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
58 of 61 people found the following review helpful
5.0 out of 5 stars Multiple Talents Or Just Plain Scam? March 18, 2006
I have read the review below by P. N. Payne about the paid reviews. Immediately, I checked on the "See All My Reviews" link for Herrington, Boudville, and Matlock. Here's what I found:

Herrington: Reviewed 20 books on March 8th (no exaggeration), ranging from "RFID Essentials" (whatever that means), "Web site Cookbook", "Open GL", to "Degunking Your Home". Suspiciously, almost all of these reviews got 5 stars, where the pros stated are almost identical to those stated by the publisher, and the cons are really funny ones, such as "I would have liked full color throughout".

W Boudville: Reviewed 15 books on March 15th, including "Nanoelectronics and Nanosystems : From Transistors to Molecular and Quantum Devices", "The Origins of Cauchy's Rigorous Calculus (Dover Books on Mathematics)", "The Norton Anthology of English Literature: The Major Authors", "Natural Resources and Violent Conflict: Options and Actions", and of course "Computational Geometry in C (Cambridge Tracts in Theoretical Computer Science)". This guy usually gives all his books 4 starts. I think he's playing it safer than Herrington.

John Matlock: This guy reviewed 11 books on March 15th. Apparently, he read the "Handbook of Parallel Computing and Statistics", "Practical Poser 6", "The Rock from Mars : A Detective Story on Two Planets", "Carrara 5 Pro Handbook", "Beginning Visual C# 2005", "The Glorious Cause : The American Revolution, 1763-1789", and of course a book about marketing, seeing how marketing relates to the American revolution, C#, Carrara, Astronomy, Posing, and Statistics. Matlock opts for the 5 stars on all his reviews.

Now about this book, I'm buying it, because I read some excerpts in the library and I think it's great, not because of the rating of these guys.
Read more ›
Was this review helpful to you?
7 of 7 people found the following review helpful
4.0 out of 5 stars Superb Advanced Topic Coverage May 24, 2005
Format:Paperback|Verified Purchase
This book is one of those rarities in computer-book industry that are actually worth reading and a place in your bookshelf. The authors do an excellent job at uncovering what lies beneath the hood, so to speak. The first few chapters are a great refresher for those of us who come from a different programming language background. The intorduction to OO programming and patterns is one of the best I've read coming from a non-academic source. Thereafter is when the real substance surfaces. Showing how to take full advantage of not only PHP5's OO, but also of the C-based Zend engine and PEAR modules. The chapters on database connectivity are absolutely outstanding. The book is well written, and in some parts goes down to the time and space complexity and also the data structures used by the engine. Very good book overall. The only reason I did not give five stars to this excellent primer is because I found at least five or six typographical errors in the first few chapters. Not a big deal, just a matter of personal preference.

A must for PHP power developers.
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
5.0 out of 5 stars Highly Recommended July 27, 2005
By Adaera
PHP 5 Power Programming is the ideal introduction to PHP 5 for those who are already familiar with the PHP language. This book, written by some of the best known in the world of PHP, brings together all of the new and powerful features that PHP 5 has to offer, from polymorphism and interfaces to SQLite and SOAP. Anyone who knows PHP 4 and are wanting to make the change to PHP 5 would benefit from the "Making the Move" chapter. Watch out beginners, while the book does offer a "Basic Language" chapter, it isn't designed to introduce new programmers to the language. Those who are familiar with similar programming languages may be able to learn PHP from this short chapter, however don't expect the rest of the book to stop and wait for you.
PHP 5 Power Programming succeeds in showing the new features of PHP. The principle addition to PHP is the improvement of OOP. This book dedicated two chapters to introduce PHP 5's Object Orientated language and makes a fine job of simplifying something which appears complicated even to an experienced programmer. If you ever wanted someone to make sense of what PHP 5's OOP can accomplish, this book delivers it without fail. One of my personal favourites about this book is Chapter 5. Unlike the myriads of other PHP books, Chapter 5 actually deals with real life situations, such as file uploads and basic (but important!) file architecture. This chapter deals with the problems faced with cookies and sessions, and provides an excellent way around them. By the time you reach Chapter 6, you could be wondering what's left to be learned. The answer? Lots. So sit back and enjoy the journey through PHP 5, your in the hands of very experienced authors.
Read more ›
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Great Upgrade Book July 19, 2005
Format:Paperback|Verified Purchase
If you're already writing PHP and want to hone your skills, this is the book for which you've been searching. Bring a highlighter because you will want to go back for quick references since the book is packed with so much good information.

If you don't write code and think OOP is a sound you make when you drop something, you will never have to buy another book as it will take you a lifetime to finish this one.
Comment | 
Was this review helpful to you?
18 of 24 people found the following review helpful
4.0 out of 5 stars Solid and valuable, but terse in style November 8, 2004
Reasonably experience web or PHP engineers will like this book. The PHP language introduction at the beginning is a brief seventy pages which sets the tone for the rest of the book; fast and concise.

After the first three chapters that introduce PHP there is an excellent chapter on design patterns. From there he heads into PHP application design in another solid chapter that effectively mixes code and illustrations to demonstrate best practices.

I found some fault in the database chapter that follows. He shows the use of string substitution in building SQL queries. This is never ever a good idea because the database access is slow and more importantly, vulnerable to SQL injection attacks. He fixes it though by showing proper use of replacement operators with the section on PEAR.

The heart of the book, which I believe is the first seven chapters, finishes of with a strong chapter on exception handling. The chapters that follow cover XML, regular expressions, file I/O, and graphics. The regular expressions chapter is very good.

There are chapters on installing and configuring PHP and PEAR. There is also a very good chapter on extending PHP with C.

In the appendices are some reference sections. In particular there is a listing of PEAR modules that is handy, but not particularly well organized. I would have much rather have had the modules organized into groups of related technologies.

There is room for improvement. There could be more illustrations, and the text could use some more exposition. But this is a solid book that will be valuable for PHP programmers looking to flesh out their knowledge of the platform.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars good book but it can be used only for reference now
this was a nice book that i purchased before i get the zend certified engineer certificate. it covers several topics but it is old now.
Published 8 months ago by ovunc tukenmez
5.0 out of 5 stars Great reference and tips book!
I've had this book on my shelf for years and was wondering if there was a second edition in print. I use PHP and MySQL a lot and found this book to have a lot of well presented... Read more
Published 22 months ago by John Murtari
4.0 out of 5 stars Good fill in the gaps for PHP Programmers
If your a newbie coder I would try to find something else to start on. If your an all around code everything depending on the job kinda programmer this is a great book for you to... Read more
Published on June 25, 2010 by Jeffrey Cobb
3.0 out of 5 stars Typographical errors abound
I have never seen a book with so many typographical errors, including errors in code. There is supposedly an errata page, but there is nothing on that page except sponsored... Read more
Published on April 17, 2009 by Kenoli Oleari
4.0 out of 5 stars Get your hands dirty good
This is a great book covering a lot of the advanced features of PHP and how to use them in your scripts. Read more
Published on April 20, 2007 by M. Marshall
4.0 out of 5 stars Best book I've found on php5
I got this book after reading a rather poor intro on php 5 (Learning php5) and was rather pleased with the book. Read more
Published on December 10, 2005 by Snail
4.0 out of 5 stars Good, but not Great
I really enjoyed reading this book, and I did learn a good deal of things in the process. However this book covers a lot of topics, and because of that it doesn't get too in depth... Read more
Published on November 20, 2005 by S. Hickey
3.0 out of 5 stars Power Programming is not for beginners.
The title says it all for power programmers if you are new to the php world and web applications in general getting into this book may be tough. Read more
Published on March 3, 2005 by tomtux
4.0 out of 5 stars In-Depth PHP 5 Knowledge 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. Read more
Published on January 17, 2005 by Russ Woodman
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category