Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Colour:
Image not available
 

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

Matt Zandstra
4.1 out of 5 stars  See all reviews (10 customer reviews)

Print List Price: £35.49
Kindle Price: £33.72 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £1.77 (5%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.

Formats

Amazon Price New from Used from
Kindle Edition £28.97  
Kindle Edition, 31 May 2010 £33.72  
Paperback £35.49  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Book Description

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.



Product Description

About the Author

Matt Zandstra has worked as a web programmer, consultant, and writer for nearly two decades. He is the author of SAMS Teach Yourself PHP in 24 Hours (three editions) and a contributor to DHTML Unleashed. He has written articles for Linux Magazine, Zend.com, IBM DeveloperWorks, and php|architect Magazine, among others. Matt works as a consultant advising companies on their architectures and system management, and also develops systems primarily with PHP, and Java. Matt also writes fiction.

Product details

  • Format: Kindle Edition
  • File Size: 12234 KB
  • Print Length: 536 pages
  • Publisher: Apress; 3 edition (31 May 2010)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B003XQF3NW
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Bestsellers Rank: #440,896 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most Helpful Customer Reviews
5 of 5 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?
1 of 1 people found the following review helpful
4.0 out of 5 stars Very good book - but typos in code 7 Sept. 2013
Format:Paperback
Very good book and author really knows what he's talking about. As a web developer i often use this book to look at the design patters. The author appears arrogant by publishing typos in the code examples. How long would it have taken to test the code snippets? Still, it's a must read!
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|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|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?
5.0 out of 5 stars Are you serious about PHP development? 15 Dec. 2014
Format:Paperback|Verified Purchase
If you want to be serious about PHP development this book can help you so much.

I am no longer in PHP development but this book was so far the best PHP book I have read.

It is not only helping PHP developers to become better professionals but also delivers essential
content on language agnostic topics like object patterns and best practices.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

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
   


Look for similar items by category