Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
PHP 5 Objects, Patterns, and Practice Paperback – 21 Dec. 2004
There is a newer edition of this item:
- ISBN-101590593804
- ISBN-13978-1590593806
- Edition1st
- PublisherApress
- Publication date21 Dec. 2004
- LanguageEnglish
- Dimensions17.78 x 2.64 x 23.5 cm
- Print length458 pages
Product description
About the Author
Product details
- Publisher : Apress; 1st edition (21 Dec. 2004)
- Language : English
- Paperback : 458 pages
- ISBN-10 : 1590593804
- ISBN-13 : 978-1590593806
- Dimensions : 17.78 x 2.64 x 23.5 cm
- Customer reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
- 5 star4 star3 star2 star1 star5 star64%16%20%0%0%64%
- 5 star4 star3 star2 star1 star4 star64%16%20%0%0%16%
- 5 star4 star3 star2 star1 star3 star64%16%20%0%0%20%
- 5 star4 star3 star2 star1 star2 star64%16%20%0%0%0%
- 5 star4 star3 star2 star1 star1 star64%16%20%0%0%0%
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from United Kingdom
There was a problem filtering reviews right now. Please try again later.
- Reviewed in the United Kingdom on 1 August 2014Brilliant book. I've been a we developer for two years and I still learn an use this book to refer to.
- Reviewed in the United Kingdom on 24 September 2014Packed full of great info.
- Reviewed in the United Kingdom on 27 February 2006Let me just say that this is not a bad book at all, it's just isn't good enough in my opinion. Maybe it is for starting programmers but it is not for me.
It succeeds well in explaining some of the more common patterns in PHP4/PHP5 but fails to goes into detail on a lot of them.
I'd really recommend some other books. If you want to learn about design patterns, there are a lot of better books out there. Unless you need the explanation in PHP code ...
I was not fully satisfied and learned little from it.
Not a bad book, but disappointing to me
- Reviewed in the United Kingdom on 6 October 2005As a professional web programmer who has worked in the computer publishing industry, myself, I very often read a book with half a mind as to who it is either aimed at or will benefit.
As a result of reading this book, I came to the conclusion that those it would benefit were (downwards, in ascending order):
A) those with a good grounding in a web-base OOP programming language like Java or C#, who need to do some PHP, and need to know how much of what they are familiar with can now be applied in the PHP 5 world and how it is implemented.
B) those coming from a desktop-oriented OOP background who need an insight into the unique problems of designing multi-user, distributed web-based systems, using the OOP features found in PHP 5.
C) established PHP programmers from a procedural background, who still needs convincing that PHP's object model is becoming strong enough to justify a switch to OOP, and how to achieve that switch.
D) hapless Visual Basic programmers, with plenty of experience using the COM-based Object interfaces, themselves, and who therefore need no convincing of the advantages of OOP, but who are desperately seeking a way out of the ever shrinking market for their existing skillset in desktop development (this describes a lot of the developers where I am currently working, BTW.)
It won't help an absolute novice programmer, however, which is a shame, because many of the arguments it puts forward to forcibly are aimed squarely at avoiding many of the pitfalls that new programmers fall into when presented with:
A) an apparently simple problem
B) DBMS which (all to often) still doesn't default to enforcing constraints (for instance!)
and
C) An absolute wealth of functions.
Anyone who's made a ton of money from temporary work debugging runaway VB, VBA, PHP and, recently, a depressing large number of .NET projects (as I have, in recent years) will attest to the observation that: "Some people really put the 'vice' into 'novice'." So, the people who really need to learn this stuff would probably not be able to follow the arguments, as they are presented, here.
So, in a way it is preaching to the converted. However, it hits the right note, in doing so, since it does not dwell overly long on concepts familiar to its target audience, but dives straight into the meat of the problem,and its solution, in each case.
Summary:
Pithy and to the point: a real credit to the author and his editorial team. (The index was great, too.)
- Reviewed in the United Kingdom on 31 October 2005This book is very much an all-rounder. This first explains why PHP4 is fine, yet PHP5 for many will become a must-have. The addition of objects to PHP4 introduces a very powerful, and fittingly albeit surprisingly complex topic. This book will spoon feed you to become a programmer among the big boys. Without missing one step, this is more than just a resource to learning PHP5 objects. It's about getting closer to perfectly implementing demanding php/database applications in complex environments with many developers - and wasting minimal code by re-use. I'm freely marking my copy - I can tell I'll never sell it!
Top reviews from other countries
DiscoverorReviewed in the United States on 17 August 20055.0 out of 5 stars classy ... and timely
ok; so, you've been reading object-oriented theory (and syntax etc.) for ages. But have all those other books and articles still left you wondering how to put it all together ... and actually implement something? Well, this is THE book ... that shows you how to transition from theory to practice - the CORRECT way(s) i.e. according to the "best practices" of our time.
It's written very clearly and succinctly (which is more than I can say for most other writings on the subjects of objects, patterns & practices). I've seen whole books written (never mind LONG articles) on patterns, that the author covers in a few pages. It takes someone gifted to do that; it is only when one has a commanding and comprehensive knowledge of a subject that one can summarize it in a few words ... and provide examples that leave you thinking ... "ok, I can do that, too (now, that I "get it"). That's the feeling, you're left with ... after this.
Full object orientation has been awhile in coming to PHP ... and this book couldn't have arrived at a better time. I'm delighted, made much more confident ... and inspired by it.
GET IT ... or you will be the loser for not having done so!
PhilReviewed in the United States on 9 November 20083.0 out of 5 stars Sometimes it moves to fast.
If your PHP is rusty from extended non-use (like mine these days) or if you are still new to PHP, this book can lose you. In chapter 4 the author assumes you are current with the PEAR database classes and throws out an example with no explanation of the code. If this book aims to help you become an advanced PHP coder, then it fails because it assumes you already are one. In my opinion, the book moves to fast and skips over to much explanation to be a good book to learn by, and is obviously not a reference book. I'm sure Zandstra knows his subject, he just needs to sharpen his teaching skills. 4 Stars for knowledge, 1 star for explanation & teaching.
Guy PersonReviewed in the United States on 7 July 20125.0 out of 5 stars This $27 book is worth more than a college degree.
Before reading this book I had a slight understanding of OOP, but did not know enough to effectively utilize its benefits. The author does a fantastic job of explaining what object oriented concepts are and how they can improve your code. Perhaps more importantly, is the fact that it is explained specifically for PHP.
Any code I write from now on will be completely different and significantly better. I literally wish I had read this book instead of going to college.
Thank you Mr. Zandstra. You truly gave PHP and OOP the respect they deserve.
Luke H. CrouchReviewed in the United States on 23 May 20074.0 out of 5 stars Nice succinct treatment of PHP OOP
This book is a great theory book for intermediate to advanced PHP. It skips over beginning PHP syntax and dives straight into OOP. The book is divided into 3 main parts - Object-Oriented Programming, Design Patterns, and Practice.
The OOP part of the book is a thorough covering of OOP from a PHP angle. It spends a little time discussing procedural vs. OO code, but assumes the reader is already convinced of the merits of OOP. It covers all the most important PHP OO ground quickly, but still explains each part in good detail - from the basics of Classes, Objects, and Inheritance up to and including OO design decisions, Polymorphism, and UML. This part of the book is, IMO, worth the purchase price for the succinct yet thorough coverage of PHP-slanted Object-Oriented Programming.
Part 2 of the book is a bit more verbose, as the subject content demands. It introduces the idea of Design Patterns first and goes over some design pattern principles. Then it jumps into the low-level design patterns for handling objects and their relationships, and representing tasks as objects. The last chapter in this part is called "Enterprise Patterns" but it somehow fails to adequately cover the King of Compound Design Patterns - MVC. The "Enterprise Patterns" are instead a PHP translation of a few J2EE design patterns. While this part of the book is very useful for solid PHP programmers beginning to approach Design Patterns, it is theory-heavy and shouldn't be used as a reference point for implementation of the patterns.
The last part of the book covers some useful PHP tools like PEAR, phpDocumentor, CVS and Phing. While these are all good tools, I was disappointed not to see Subversion or PHPUnit covered in more detail.
Each part of the book could be read independently of the others. It is a great theory book, but its ad-hoc and highly-specific code examples make it less useful as a reference. It's easy-to-read and concise style through-out mean you can simply read thru it to quickly and easily learn the theory without a computer on-hand, which is very helpful, too.
BrunoReviewed in the United States on 11 August 20135.0 out of 5 stars Great book !
This book is awesome ! It explains many concepts of OOP and a complete introduction of this, and also, give good examples in the language. In addition, the language that the author writes is easy for comprehend.