|
|||||||||||||||||||||||||||||||||||
|
32 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
61 of 66 people found the following review helpful:
5.0 out of 5 stars
Proper enterprise level respect for PHP5,
By Jack D. Herrington "engineer and author" (Silicon Valley, CA) - See all my reviews (VINE VOICE) (REAL NAME)
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
Fact of the matter is that PHP5 is a serious enterprise level development system. This book takes it seriously and presents both practical and architectural material at a level that used to be reserved for J2EE and .NET works. This relatively short book is packed full of well written and insightful content. It stars with the basics of PHP5 OO programming with detail about the mistakes in PHP4 that have now been rectified. That is taken all the way through advanced topics like reflection.
The author then switches gears and gets into the design of object oriented applications. Now that we have the right tools, how we should use them to make better systems, right? UML is covered, and so are design patterns. The later chapters of the book cover solid software engineering practices, like version control and unit testing, amongst other. Not only will this book give you new ideas at a coding level, it will also open your mind as an engineer and get you headed in a direction toward architecture and large scale application design. An excellent book. A must have for any serious PHP developer.
23 of 23 people found the following review helpful:
5.0 out of 5 stars
Serious Stuff on PHP OOP,
By
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
I liked this book. It is probably the first I have run across that treats PHP as a serious development environment, addressing it to enterprise level tasks. That said, let me add a cautionary warning, this book is not for the novice to OOP.
Mr. Zandstra approaches his task by dividing the content into three sections: 1) Objects - covering various basic and advanced concepts in OOP as they apply to PHP, from polymorphism and encapsulation to abstracts, error handling and interfaces, 2) Patterns - using a few sources (including the 'Gang of Four') he covers composition, object generation, tasks and layers among other topics, 3) Practices - offering a little advice on how and why to use patterns and standards, as well as some coverage of PEAR, documenting and version control. From a practical standpoint, I found the book interesting, but somewhat overwhelming. Let me try to clarify that a little. This book is targeted at enterprise level development, meaning serious business level coding/development. Most of my work in PHP so far, while it makes use of OOP, is relatively small scale (15-20 classes ranging from 200-1500 lines each in my most complex site). While I can see the logic in the patterns and practices that Zandstra writes about, the overall content is overkill for my scale of project. Now that isn't to say that I found the book useless, there are many of the concepts that the author discusses that will find their way into my design and code; I just won't be doing a wholesale pattern refactoring of my code (a viewpoint I get the feeling the author would agree with). If you are a professional developer, I would recommend this book as a good read and part of your PHP reference library. If you are not an enterprise level developer and are just looking for sample code to help solve or implement solutions I would recommend PHP 5 Recipes (Apress).
29 of 32 people found the following review helpful:
4.0 out of 5 stars
A great introduction to object-oriented PHP,
By
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
I haven't read a book on PHP in ages. In fact, I haven't programmed in PHP since 2001. With this in mind, I can say that Matt Zandstra's "PHP 5 Objects, Patterns, and Practice" was a very approachable introduction to what the latest version of the PHP platform has to offer to an OO developer from the Java scene.
The book is split to three main sections: objects, patterns, practice. The first section runs through the new object-oriented features of PHP 5, the second sections introduces design patterns and includes a catalog of some of the more common patterns from the original Gang of Four patterns as well as from "Core J2EE Patterns". The third section is a set of tutorials on tools and assets that a modern day PHP developer really should know about and make use of: the PEAR installation tool, PhpDocumentor, and the Phing build tool. The author also squeezed in a bit about the PHPUnit2 library for unit testing PHP code which I especially appreciated. The design patterns catalog is far from comprehensive, covering only a small subset of published design patterns in the Java/.NET camps, but serves its purpose alright. Every included pattern is illustrated with an example that the author has crafted for the PHP context - in other words, these are not just direct ports from their Java equivalents, for example. While being an easy read, Zandstra's introduction to the object-oriented features is, I believe, perfectly adequate to get started with object-oriented PHP programming. Combined with the discussion about design patterns, the book feels like a valuable asset for getting up to speed after a break. A more up-to-date PHP developer might find the information a bit lacking but for someone new to PHP 5's object-oriented features, this is a good package to get started with.
10 of 10 people found the following review helpful:
5.0 out of 5 stars
The Next Step for the Serious PHP Programmer,
By J. R. Stephens "tech writer, web developer" (Brisbane, AU) - See all my reviews
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
I got this book thinking, "Hey, this might help me get a leg up on that new PHP 5 OOP stuff." That it did.
However, this book accomplishes much more than that. Zandstra sets himself a several goals and meets them all quite well. These include: providing an understanding of classes, objects, and interfaces in PHP 5; presenting a numbers of useful design patterns as expressed in PHP 5 terms; giving the reader information about and insight into advanced development tools and methodologies for large-scale PHP 5 projects. A particularly valuable service provided by the author lies in the fact that there is a real dearth of material on design patterns for PHP developers, most of the literature on this subject being written with the assumption that the reader is highly proficient in Java or C++ (or possibly Smalltalk). This is all well and good if your background includes lots of work or study in one or more of these; however, for many Web developers, PHP is the primary and sometimes only programming language (and for many more, their only previous experience is with other scripting languages such as Perl, Python, JavaScript, VBScript, etc.). Zandstra goes to the effort of translating many of the classic "Gang of Four" design patterns into PHP 5 code and thereby makes accessible a realm that was heretofore unknown to many PHP developers. If this were all that the book covered, it would be useful in and of itself for this alone. But the author also gives us a good, thorough grounding in both the mechanics of PHP 5's new object model and (especially important!) the rationale behind it. He also provides a nice tutorial on UML modeling along the way, and finishes up with a look at some current development tools like Phing and CVS. There are plenty of helpful and useful examples along the way. I give this book 5 stars for having really helped me wrap my head round some advanced OO programming and design concepts. I've already got loads of use from it; my copy is about two months old, and it's already getting dog-eared. It's also a very enjoyable read, and a real cut above most of the "How To Program In ..." sorts of books. This is the perfect book for someone with some experience with writing PHP code who's looking to move up to the next level - creating real, scalable, enterprise-level PHP applications.
9 of 10 people found the following review helpful:
4.0 out of 5 stars
2 key ideas in programming,
By
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
As languages which were not originally object oriented grow in popularity, there is sometimes a trend to upgrade them, by adding in this functionality. C++ can be regarded as an upgrade of C, in this respect. Or how Visual Basic now as VB.NET has quite impressive OO features. So Zandstra's book attests to this trend and to the popularity of PHP. It describes how the OO enhancements in PHP 4 were extended into version 5. You are shown how to use objects to the full extent allowed in PHP 5.
The book is also aimed at a reader who might never have formally learnt to use objects or design patterns. In the last 15 years, these have been two very important ideas in programming, independent of the languages used. Which gives us another merit of the book. You are not just learning PHP 5, though that may be good in itself. By understanding and using the book's ideas, you should be able to apply these in other languages. A valuable increase of your skill set and hence marketability. You should also read carefully the section on bad practices. Sometimes, just being able to avoid these in your code may be enough to produce a successful program.
8 of 9 people found the following review helpful:
4.0 out of 5 stars
Worth Reading,
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
It's a good book worth the reading for every programmer aspiring to be a professional. My only negative comment is that I wish the author presented a logical explanation of the reasoning behind pattern implementations before presenting the actual implementation (code). On many occassions I found myself confused as to why a certain implementation was chosen. I understood the code, but did not comprehend the reasoning behind the code. In many cases, the logic of the pattern was not self-evident (for example read the Observer Pattern).
7 of 8 people found the following review helpful:
5.0 out of 5 stars
very helpful book,
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
This was the exact right book at the right time for me. I have been managing a php software project for the past 5 years and it's growing harder to deal with. I had started to make some haphazard use of design patterns, cvs, and pear already. It's hard to find time away from daily business pressures to improve one's practices, but this book brought together some very useful techniques and tools in a concise way. I've read patterns books for other languages, but having the examples in php with special attention to php 5's oo improvements made this one much more useful and quicker to absorb for me.
7 of 8 people found the following review helpful:
5.0 out of 5 stars
Super clear explanation of OOP,
By
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
If you are a programmer of any language that supports Objects, this book is for you. This is one of the most clear introduction to all aspects of object design programming I saw so far for a programming language. This is not a "cookbook" with Php recipes, it is a really well written guide to proper software architecture design with Php. So good that you'll find useful also for other languages. Almost all advanced topics regarding Php5 are also covered. Really useful the practices section. PHP developers: please READ! You know, Data Types actually exist! A must have!
7 of 8 people found the following review helpful:
5.0 out of 5 stars
Great book IF you already know some PHP,
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
The author of this book assumes a basic understanding of the PHP language and focuses on how to take advantage of the new features of PHP5. The book includes best practices, tools, and principles on how best to write, document and implement a project.
The three primary divisions of the book follow along with the title and are sequenced as Objects, Patterns, and Practice. The Objects section covers the history of PHP and how it evolved to include a focus on object-oriented programming. This section contains some of the more basic information in the book including the principles behind objects, classes and inheritance. The section on Patterns examines problems of software design and ways to approach and resolve these problems. In this section the reader learns basic design principles that should be implemented on all projects to make them easier to troubleshoot or expand on later. The last section covers the practices and tools that can be used to correctly manage a project. The focus is on managing your code, managing your project, tracking bugs, collaboration between programmers, and making the project easy to install. It includes a section on Concurrent Versions System (CVS) which allows multiple programmers to work on the same code without overwriting each other's work. Although it assumes some knowledge of PHP programming it does not assume any knowledge of object-oriented programming and that appears to be one of the primary purposes of the book - to take PHP4 programmers and teach them to take advantage of the abilities of PHP5. This is not to say that you can't get a lot of value from the book without prior knowledge of PHP. If you have programmed before and have a basic PHP syntax reference guide available then this book will still be a valuable read. PHP 5 Objects, Patterns, and Practice is highly recommended for PHP programmers making the move to PHP5 and PHP5 programmers that need a handle on best practices.
4 of 4 people found the following review helpful:
4.0 out of 5 stars
Best I've yet found,
By
This review is from: PHP 5 Objects, Patterns and Practice (Paperback)
Despite having read widely both online and off about the use of design patterns with PHP, I've usually been left unsatisfied. Most works on the subject are either too theoretical (and I'm a theory nut) or too rudimentary for those of us who are seeking a deep understanding but also need to employ these techniques quickly.
This book provided a pleasant contrast, providing detail of how to translate its theoretical examples into practical code and pre-empting many of my "yes, but..." moments. As a regular user of PHP5's OO features much of the introductory material was redundant for me, but it was a good summary and is moved quickly out of the way. I'm recommending this book to other coders I'm working with, particularly those new to OO concepts, and still refer to it regularly. |
|
Most Helpful First | Newest First
|
|
PHP 5 Objects, Patterns and Practice by Matt Zandstra (Paperback - Jan. 2005)
$39.99 $30.39
In Stock | ||