Advanced PHP Programming and over 2 million other books are available for Amazon Kindle . Learn more
FREE Delivery in the UK.
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Trade in your item
Get a £1.50
Gift Card.
Have one to sell?
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 (Developer's Library) Paperback – 20 Feb 2004

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
£20.39 £3.51

There is a newer edition of this item:

Advanced Php Programming
Currently unavailable.

Trade In Promotion

Frequently Bought Together

Advanced PHP Programming (Developer's Library) + JavaScript: The Definitive Guide (Definitive Guides)
Price For Both: £56.45

Buy the selected items together

Trade In this Item for up to £1.50
Trade in Advanced PHP Programming (Developer's Library) for an Amazon Gift Card of up to £1.50, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 672 pages
  • Publisher: Sams; 1 edition (20 Feb 2004)
  • Language: English
  • ISBN-10: 0672325616
  • ISBN-13: 978-0672325618
  • Product Dimensions: 16.2 x 3.4 x 22.8 cm
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon Bestsellers Rank: 498,344 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.4 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

3 of 3 people found the following review helpful By C. Neale on 30 Dec 2007
Format: Paperback
I lent my copy of Advanced PHP Programming to a friend last year and when I finally got it back it was dog-eared and edge-worn - a testament to how brilliant and useful the book is to any middle-weight or advanced developer.

The confident, objective writing style is immediately reassuring. Scholssnagle isn't the kind of writer who stubbornly refuses to go into detail about how to use global variables, for example, on the basis that they're evil and should be avoided at all costs. Instead, he explains how to incorporate them sensibly, acknowledges that they're a 'big mistake' and then suggests some alternative strategies. He doesn't rant about or sneer at less-robust techniques, but calmly explains the risks and suggests alternatives.

There's a lot of smart, fresh ideas in this book. The first chapter is on coding styles. There's plenty of good, simple guidelines on how to lay out, structure, and document your code to make it easier to handle and some excellent advice (and examples) of coding styles to avoid. His approach is consistent: keep it simple and use the best tool for the job.

A short chapter on object orientation and design patterns gives a concise overview of PHP object orientation and covers a few of the most useful design patterns - adaptor, template, factory and singleton are explained carefully. It describes specific situations where you'll find each pattern useful rather than just explaining the theory. A chapter on implementing templates explains the Model-View-Controller concept and goes on to show you how to use the Smarty templating engine. Several chapters on user authentication and session handling are very useful and contain some bright insights into fairly well-trodden subject area.

Some chapters have been worth their weight in gold.
Read more ›
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
21 of 23 people found the following review helpful By John Driscoll on 20 Jun 2005
Format: Paperback
This book covers a whole number of hard core advanced PHP topics. I was at a pretty high PHP standard before I read this book, and when I did read it, it polished off any gaps in my knowledge, and helped me to become better. To give you an idea of how in depth this book is, on commandline PHP scripts, it covers chroot jailing your scripts, forking and controlling child processes from your script and special file locking to ensure only one instance of a script runs at any one time. It's an enormously in depth book that should a) be read well and b) be kept close by as a reference.
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
2 of 2 people found the following review helpful By M Jones on 17 Nov 2007
Format: Paperback
The book is ok generally in the areas it covers, however there are lots of errors in the example code and other parts of the text with some pieces taking many corrections to make them work. Things like getting :: and -> mixed up when calling functions, silly stuff but very annoying(how hard is it to test the code before it's published?!?!). Seems like it was rushed and not had much effort put in compared to many other books I own. On this basis I would not recommend it.
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
11 of 13 people found the following review helpful By John Noel on 19 April 2007
Format: Paperback
Like so often with PHP, this book suffers from having boundless enthusiasm for the topics at hand but lacks the professional polish which is so increasingly rare. Within the the first chapter alone there are numerous syntactical errors within the code and the writing surrounding them. As the book progresses these are coupled with ambiguous explanations of potentially thorny problems and some glaring naming inconsistencies.

If you're expecting a thoughtful and precise book, this isn't it, no matter how hard it tries to be. The book highlights a number of excellent ideas but comes off as more of an extended opinion piece by the author with colloquial language and even extolling the virtues of his own software (APC).

Great for the occasional dip into but expect to do a lot of your own research into the topics presented.
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