Programming Books C Java PHP Python Learn more Browse Programming Books
Advanced PHP Programming and over one million other books are available for Amazon Kindle. Learn more
Buy New
  • List Price: $54.99
  • Save: $14.91 (27%)
In Stock.
Ships from and sold by
Gift-wrap available.
Advanced PHP Programming has been added to your Cart
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Advanced PHP Programming Paperback – March 1, 2004

ISBN-13: 978-0672325618 ISBN-10: 0672325616

Buy New
Price: $40.08
24 New from $3.07 35 Used from $0.44
Amazon Price New from Used from
"Please retry"
"Please retry"
$3.07 $0.44

Frequently Bought Together

Advanced PHP Programming + Essential PHP Security
Price for both: $62.24

Buy the selected items together
  • Essential PHP Security $22.16


Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Paperback: 672 pages
  • Publisher: Sams Publishing (March 1, 2004)
  • Language: English
  • ISBN-10: 0672325616
  • ISBN-13: 978-0672325618
  • Product Dimensions: 8.9 x 7 x 1.5 inches
  • Shipping Weight: 1.9 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (25 customer reviews)
  • Amazon Best Sellers Rank: #936,494 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

George Schlossnagle is a principal at OmniTI Computer Consulting, a Maryland-based tech company that specializes in high-volume Web and email systems. Before joining OmniTI, he led technical operations at several high-profile community Web sites, where he developed experience managing PHP in very large enterprise environments. He is a frequent contributor to the PHP community and his work can be found in the PHP core, as well as in the PEAR and PECL extension repositories.

Before entering the information technology field, George trained to be a mathematician and served a two-year stint as a teacher in the Peace Corps. His experience has taught him to value an interdisciplinary approach to problem solving that favors root-cause analysis of problems over simply addressing symptoms.

More About the Author

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

Customer Reviews

3.9 out of 5 stars

Most Helpful Customer Reviews

81 of 85 people found the following review helpful By Yuri van der Meer on May 18, 2004
Format: Paperback
I started programming only a little over a year ago, with a JavaScript book I bought. Shortly after that I started with PHP.
My first PHP book was Glasshaus' "Dreamweaver MX: PHP Web Development" (had to start somewhere). I then bought Sams' "PHP & MySQL web development". That was a big step forward.
Meanwhile, I learned all about separating the different layers on the front end through the use of XHTML, CSS and W3C DOM-based JavaScript, and I wanted to learn to achieve the same kind of maintainability in server-side scripting. I wanted more advanced programming techniques and I wanted to learn about `best practices' and OOP.
I then got the SitePoint PHP Anthology volumes. I liked its use of OOP for the various solutions, but they're just that. A lot of cook book style solutions. I learned some good things from looking at all the solutions, but I wanted a more direct approach teaching me how to program PHP on a professional level, rather than just learn how to implement professional solutions.
A few weeks ago I got the book Advanced PHP Programming. Finally I have a book that seems to really have what I was looking for. This teaches not only how OOP works in PHP, but it also shows in general how OO techniques apply to different situations (design patterns). A lot of other topics in the book are a little over my head right now, but it is good to know it's there for when I need it.
While reading the many examples in the previously mentioned PHP books, I kept asking myself "is this really the best way to handle this?". Not with this one. I somehow know that this book can teach me all I ever wanted to know about programming PHP on a professional level and not teach me any 'bad practices' along the way.
This is definately not the first book I should have bought on PHP, but it seems this may well be the last book I will be needing for a long time.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
32 of 35 people found the following review helpful By Derek Sivers on March 25, 2004
Format: Paperback Verified Purchase
I've been programming in PHP full-time for 5 years now. I remember when I was first learning, how all the books felt a little over my head, in a good way. Very slowly I understood things that didn't make sense before. And then very slowly I'd start to incorporate those things into my day-to-day programming.
After 2 years or so, I missed that feeling. I'd check out new PHP books and flip through every chapter saying, "Yeah yeah yeah...". I realized I had become an expert.
I was honestly impressed looking at the table of contents of this book. This is NOT your usual PHP book! That's obvious right away. So I ordered it. And it just arrived yesterday.
I was up all night reading it, and again today. This is the most amazing PHP book for experienced PHP programmers I've ever seen. (Wait - this is the ONLY book for experienced PHP programmers I've ever seen!)
The author really knows his stuff, and uses best-practices, throughout. Really well thought-out code with a lot to learn from.
The fact that it's all based on the new PHP5 style makes it even better! A great way to get to know the new object approach to PHP5: to see it in real-world examples, so that after a few hours with this book it's second-nature.
For the first time in three years, I feel wonderfully over-my-head with a LOT to learn here in this one amazing book. Thanks George!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
39 of 45 people found the following review helpful By Discoveror on September 13, 2004
Format: Paperback Verified Purchase
PHP *needs* capable writers, like this one. Developers, who take time to write, seem rare - compared to writers, who rarely get to do development projects, anymore. This author is clearly a very experienced practitioner. He outlined a great table of contents.

He advocates and provides guidance for adhering to best practices, regarding design patterns, scalability, caching, unit testing, profiling & tuning etc. The last 1/6 of the book is about C language PHP extension. Excellent "Further reading" suggestions are provided at the end of each chapter.

Out of a high-volume PHP site developer, since 1999, I would expect creative examples. If your site provides Fibonacci sequences and readability scores web services, you'll find this book highly useful. Though on page 1, the author PROMISES NO* "foo-bar" examples, he provides plenty (on pages: 19, 53, 56, 68, 102, 158, 166, 227, 230, 255, 268, 274, 325, 373, 405, 466, 483, 484, 563). Since a reader devotes plenty of time to contemplating foo-bar examples, I came to realize why they bother me so much ... they're unimaginative (i.e. mentally lazy), regarding pragmatic applications for the technology.

I found myself constantly marking comma's in the text - to ease the readability and follow what was being said. If the author doesn't know where to put comma's, the editors should! There's no bold text - to illustrate lessons within the code. As far as I can remember, there's no offer of complete code (e.g. from a website), either.

This is a good, author with generally readable writing style and a wealth of experience to convey. I wouldn't dissuade anyone from buying this book; there's a tremendous amount to be learned and gained from this ... probably the most advanced PHP text, available. I'm just a bit disappointed, because, though it's very good, it could have been world class. I would buy future books from this author; I hope that they get even better!
3 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
15 of 17 people found the following review helpful By Gabor Hojtsy on March 24, 2004
Format: Paperback
I have had the pleasure to read through this book, and I need to say that it is a must for those who take PHP seriously. This is not a usual tutorial type book, which will show an example for every keyword with long-winded explanations, but rather a compilation of best pratices and recommendations which you can build on.
The performance section for example (which is one of my favourites) just scratches the surface on how you can use APD to find bottlenecks in your code. George provides you with some common examples, but the real work is still yours, you won't get a step-by-step guide.
Another interesting point of this book is that it is not to read from start to the end. You will surely find sections you are already familiar with (Smarty being a prime example), or sections too advanced for you (ex. distributed environments). And George also takes the liberty to use PHP 5 OO code before introducing the new PHP 5 features, and using XML-RPC before the chapter on RPC calls.
I find it very valuable to have a lengthy introduction to good coding practices at the begining, since most of the code in the book builds heavily on having a consistent coding style. What I miss from the begining though is the introduction on where can people find details if they are stuck. There are interesting services ( for example), which are quite valuable if you are trying to find something in the PHP source, to get an idea of how things work.
George having been heavily involved in the APC and APD development knows a lot about PHP and Zend internals. The last section provides you with a current and correct explanation on how you can extend PHP. None of the printed books on the market, or any online tutorial or manual can beat this section currently.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?