PHP Objects, Patterns and Practice, Third Edition and over 1.5 million other books are available for Amazon Kindle . Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
Buy Used
Used - Like New See details
Price: £22.13

or
 
   
Trade in Yours
For a £9.53 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading PHP Objects, Patterns and Practice, Third Edition on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

PHP Objects, Patterns and Practice 3rd Edition (Expert's Voice in Open Source) [Paperback]

Matt Zandstra
3.9 out of 5 stars  See all reviews (7 customer reviews)
RRP: £35.49
Price: £24.84 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £10.65 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Saturday, 22 June? Choose Express delivery at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition £21.11  
Paperback £24.84  
Trade In this Item for up to £9.53
Trade in PHP Objects, Patterns and Practice 3rd Edition (Expert's Voice in Open Source) for an Amazon.co.uk gift card of up to £9.53, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Special Offer until June 30, 2013: Receive an additional £5 promotional Gift Card, when you trade-in at least £10 worth of books. Learn more

Book Description

1 Jun 2010 143022925X 978-1430229254 3rd Revised edition

This book takes you beyond the PHP basics to the enterprise development practices used by professional programmers. Updated for PHP 5.3 with new sections on closures, namespaces, and continuous integration, this edition will teach you about object features such as abstract classes, reflection, interfaces, and error handling. You’ll also discover object tools to help you learn more about your classes, objects, and methods.

Then you’ll move into design patterns and the principles that make patterns powerful. You’ll learn both classic design patterns and enterprise and database patterns with easy-to-follow examples.

Finally, you’ll discover how to put it all into practice to help turn great code into successful projects. You’ll learn how to manage multiple developers with Subversion, and how to build and install using Phing and PEAR. You’ll also learn strategies for automated testing and building, including continuous integration.

Taken together, these three elements—object fundamentals, design principles, and best practices—will help you develop elegant and rock-solid systems.

What you’ll learn

  • Learn to work with object fundamentals: writing classes and methods, instantiating objects, and creating powerful class hierarchies using inheritance.
  • Master advanced object-oriented features, including static methods and properties.
  • Learn how to manage error conditions with exceptions, and create abstract classes and interfaces.
  • Understand and use design principles to deploy objects and classes effectively in your projects.
  • Learn about design patterns, their purpose and structure, and the underlying principles that govern them.
  • Discover a set of powerful patterns that you can deploy in your own projects.
  • Learn about the tools and practices that can guarantee a successful project including unit testing; version control; build, installation, and package management; and continuous integration.

Who this book is for

This book is suitable for anyone with at least a basic knowledge of PHP who wants to use its object-oriented features in their projects.

Those who already know their interfaces from their abstracts may well still find it hard to use these features in their projects. These users will benefit from the book’s emphasis on design. They will learn how to choose and combine the participants of a system, how to read design patterns, and how to use them in their code.

Finally, this book is for PHP coders who want to learn about the practices and tools (version control, testing, continuous integration, etc.) that can make projects safe, elegant, and stable.

Table of Contents

  1. PHP: Design and Management
  2. PHP and Objects
  3. Object Basics
  4. Advanced Features
  5. Object Tools
  6. Objects and Design
  7. What Are Design Patterns? Why Use Them?
  8. Some Pattern Principles
  9. Generating Objects
  10. Patterns for Flexible Object Programming
  11. Performing and Representing Tasks
  12. Enterprise Patterns
  13. Database Patterns
  14. Good (and Bad) Practice
  15. An Introduction to PEAR and Pyrus
  16. Generating Documentation with phpDocumentor
  17. Version Control with Subversion
  18. Testing with PHPUnit
  19. Automated Build with Phing
  20. Continuous Integration
  21. Objects, Patterns, Practice

Frequently Bought Together

PHP Objects, Patterns and Practice 3rd Edition (Expert's Voice in Open Source) + Essential PHP Security + PHP Object - Oriented Solutions
Price For All Three: £62.55

Buy the selected items together


Product details

  • Paperback: 515 pages
  • Publisher: APRESS; 3rd Revised edition edition (1 Jun 2010)
  • Language: English
  • ISBN-10: 143022925X
  • ISBN-13: 978-1430229254
  • Product Dimensions: 19.1 x 2.7 x 23.5 cm
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Bestsellers Rank: 29,812 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Matt Zandstra has worked as a Web programmer, consultant and writer for a decade. He has been an object evangelist for most of that time. Matt is the author of SAMS Teach Yourself PHP in 24 Hours (three editions), and contributed to DHTML Unleashed. He has written articles for Linux Magazine and Zend.com. Matt works primarily with PHP, Perl and Java, building online applications. He is an engineer at Yahoo! in London. Matt lives in Brighton with his wife Louise, and two children, Holly and Jake. Because it has been so long since he has had any spare time he only distantly recollects that he runs regularly to offset the effects of his liking for pubs and cafes, and for sitting around reading and writing fiction. Learn more on Matt's website, getInstance.

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

Most Helpful Customer Reviews
10 of 12 people found the following review helpful
2.0 out of 5 stars Informative but overly technical 20 Mar 2011
By Pete171
Format:Paperback
This book is advertised as a resource for intermediate PHP programmers who are not necessarily familiar with the Object Oriented (OO) features of the language. However, I would caution potential buyers to think carefully before purchasing this product. While this book does exactly what it says it does, it does so in a garbled and overly technical style of writing that does not allow easy comprehension of the complicated material being discussed

Its first section aims to introduce the OO features of the language to those who may not be familiar with them. Those whom this applies to will therefore be surprised at the brisk pace this section takes. Nevertheless, it does provides a solid enough grounding if you are willing to also consult other resources - or if you have previous OO experience.

It is the second section - the examination of numerous design patterns - with which I am most displeased. A large amount of vocabulary will be introduced in the opening chapters: polymorphism, aggregation, composition, orthogonality, coupling, cohesion, and encapsulation (to name but a few). These terms, which are not explained adequately in the first place, are subsequently used freely throughout the remaining chapters and will certainly leave all but the most experienced programmer confused; the UML (unified modelling language) diagrams are equally unclear and ill explained.

The patterns themselves continue the trend of being overly technical. One has to reread a chapter numerous times in order to even understand what Mr. Zandstra is trying to communicate. It does not help that there are several typing errors in the prose and even the occasional (simple) error in the code itself ('asset()' instead of 'isset()', to give an example).
... Read more ›
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars Useful content, appalling layout 12 Feb 2012
Format:Paperback
I rather like this book. PHP is not well served by intelligent discussions of advanced OOP design -it's a pragmatic but ugly language so most of the really smart hackers tend to congregate around the elegance of Ruby or Python. Matt Zandstra is a good PHP programmer and fills this gap quite well.

The structure is logical, moving from OOP syntax and basic concepts through tactical object patterns to their application in more strategic enterprise and data patterns. It closes by surveying more general areas of good development practice such as testing and version control.

Covering so much ground the pace is rapid, so you'll likely struggle unless you are fluent with basic PHP and have a smattering of OOP knowledge.

The reason for my 4 star rating is the way that Matt highlights the practical value and application of the patterns he covers. The general approach is to show how a seat-of-the-pants approach can get you into trouble as your system evolves, and how the judicious application of patterns can strengthen separation of concerns and flexibility. I have a couple of other pattern books, but they are more academic and leave you wondering how you would actually use these ideas. Matt's approach is more successful.

I've dropped a star because there are too many areas where the writing could be clearer, particularly in the Enterprise Pattern section. And there are areas where I feel he has backed the wrong horse - for example the version control section focuses on Subversion, while these days the OS community seems to centre around Git and GitHub.

But if you are an intermediate developer you should emerge from the process with significantly stronger skills.

There is however, a major caveat.
... Read more ›
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Interesting and good basis on this 3 April 2013
By typo
Format:Paperback|Amazon Verified Purchase
This book offers a lot of useful advice about using PHP objects and about how to improve programming techniques; something that a lot of similar books tend to skimp over.

The book is an easy read, although the main part of the book, about the patterns themselves, is a little heavy going. I'm relatively new to this idea so found it quite difficult to penetrate some of the technicalities.

One area that I felt was lacking in the book, and which I thought would come into the 'Practice' section, is how to develop with these patterns in mind and how to design a site (or function) by recognising the needs for the pattern to be implemented. I'm left feeling a little quizzical about this, still.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars The most advanced PHP book I've read 15 Aug 2012
Format:Paperback|Amazon Verified Purchase
I wouldn't hope to learn PHP OOP from this book, it's rather for people who know OOP already. The book is in 3 parts and the most useful one (for me) - patterns - is translating the most popular patters (taken mostly from Java and the "gang of four" ideas) to PHP. This subject is really advanced and the patterns can serve as a good starting point for different programming challenges. Not an easy book, but very good and professional approach. The author is doing much to make it easier to understand.
Comment | 
Was this review helpful to you?
3.0 out of 5 stars This book has very useful content 3 Jun 2012
By bla
Format:Paperback|Amazon Verified Purchase
I worked with OOP (java and php) for some years, and after a brake I started to work again with PHP, I wanted to improve something in OOP because I forgot some concepts. This book is very interesting, for example, the part of testing with phpunit is very complete. And the part of oriented objects.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
5.0 out of 5 stars Good choice for intermediate PHP coders 7 Feb 2011
By Ertekin
Format:Paperback
It helped me to think different way before writing my codes. Especially design patterns subject enlightened me very well. The language of it can be simplified for international readers I found it a little bit hard to read.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges