Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Advanced PHP Programming

4.0 out of 5 stars 27 customer reviews
ISBN-13: 978-0672325618
ISBN-10: 0672325616
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$5.99 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$31.04 On clicking this link, a new layer will be open
More Buying Choices
21 New from $9.44 54 Used from $0.01
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
$31.04 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Advanced PHP Programming
  • +
  • Essential PHP Security
Total price: $59.74
Buy the selected items together

Editorial Reviews

From the Back Cover

Over the past three years PHP has evolved from being a niche language used to add dynamic functionality to small sites to a powerful tool making strong inroads into large-scale, business-critical Web systems. The rapid maturation of PHP has created a skeptical population of users from more traditional "enterprise" languages who question the readiness and ability of PHP to scale, as well as a large population of PHP developers without formal computer science backgrounds who have learned through the hands-on experimentation while developing small and midsize applications in PHP. While there are many books on learning PHP and developing small applications with it, there is a serious lack of information on "scaling" PHP for large-scale, business-critical systems. Schlossnagle's "Advanced PHP Programming" fills that void, demonstrating that PHP is ready for enterprise Web applications by showing the reader how to develop PHP-based applications for maximum performance, stability, and extensibility.

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.


The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Paperback: 672 pages
  • Publisher: Sams Publishing (March 1, 2004)
  • Language: English
  • ISBN-10: 0672325616
  • ISBN-13: 978-0672325618
  • Product Dimensions: 6.4 x 1.3 x 9 inches
  • Shipping Weight: 2.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (27 customer reviews)
  • Amazon Best Sellers Rank: #761,836 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

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 81 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 33 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 43 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 PHP.net services (lxr.php.net 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 15 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Advanced PHP Programming
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Advanced PHP Programming