Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

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

Professional PHP Design Patterns [Paperback]

Aaron Saray

List Price: CDN$ 53.99
Price: CDN$ 33.85 & FREE Shipping. Details
You Save: CDN$ 20.14 (37%)
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
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, October 28? Choose One-Day Shipping at checkout.
Join Amazon Student in Canada

Book Description

Aug. 24 2009 Wrox Programmer to Programmer
This guide helps PHP developers take advantage of the stability and features of design patterns

Design patterns are the cornerstones of building solid, stable, flexible, and feature-rich Web applications. This guide enables PHP developers to take advantage of everything they offer.

If you are unfamiliar with design patterns, this book explains what you need to know. Both novice and veteran PHP developers will benefit from the alphabetical list of design patterns and code examples showing how to implement each pattern in PHP. Step-by-step instructions for a sample contact management system will help you understand real-world applications for the information.

  • Gets PHP developers who have not used design patterns up to speed on the technology
  • Shows programmers who are familiar with design patterns in other languages how to apply the techniques to PHP
  • Includes examples of ordinary code used in everyday development and how to modify it for one of the design patterns discussed
  • Provides an alphabetical list of common design patterns, with code examples showing how each can be implemented in PHP
  • Uses a case study of a contact management system to analyze and demonstrate the step-by-step process of applying design patterns

With its single focus on applying design patterns to PHP development, PHP Design Patterns helps both new and veteran PHP programmers improve their applications and their career prospects.

Product Details

Product Description

From the Back Cover

PHP is often considered to be the cornerstone for buildingflexible and feature-rich web applications. Because of its relatively simple initial learning curve, newer programmers can easily create applications in PHP from the ground up. As these applications scale, however, the maintenance can seem daunting. Luckily, the mature programming community has something to offer: Design Patterns. These repeatable solutions for common problems have been applied for years to other programming languages. This book aims to bridge the gap between the PHP and the older programming language by applying those tried and tested Design Patterns to native PHP applications.

This book starts with an introduction to Design Patterns, describes their use and importance, and details where you've seen them already. It continues through a host of Design Patterns with code examples and explanations. Finally, an in-depth case study shows you how to plan your next application using Design Patterns, how to program those patterns in PHP, and how to revise and refactor an existing block of code using Design Patterns from the book. The author approaches the concepts in technical yet usable formats that are familiar to both programmers who are self-taught and those with more extensive formal education.

What you will learn from this book

  • What Design Patterns are and why they matter in PHP

  • Commonly established PHP Library usage of Design Patterns

  • Faster and more efficient object creation with Design Patterns like Builder, Façade, Prototype and Template

  • Decoupled architecture using Data Access Object and Proxy Design Patterns

  • Better code flow and control using the Delegate, Factory and Singleton Design Patterns

  • How to implement Visitor and Decorator Design Patterns to enhance objects without modifying their core

  • Comprehensive plug-in creation techniques using Observer Design Pattern

  • How to plan application architecture using Design Patterns

  • How to program a case study web site from start to finish with Design Pattern based coding

  • How to recognize architectural benefits from Design Patterns in an existing application

  • Methods to further strengthen code from case study analysis

Who this book is for
This book is for experienced PHP programmers who are looking to enhance the quality of their code architecture with Design Patterns.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

Updates, source code, and Wrox technical support at www.wrox.com

About the Author

Aaron Saray was introduced to a second-hand Commodore 64, with no persistent storage, when he was 8 years old. This fueled his appetite for computer science which carried him through many different languages and computers. Aaron finally settled on PHP as his language of choice in 2001. From then on, he continued to pepper in various other web languages such as HTML, CSS and JavaScript while continually building on his PHP expertise. Along his career path, Aaron has designed and maintained web site tools for an Internet Service Provider, created web based account management tools for subscribers of a major dental insurance company and led the development efforts of back-office websites for Internet connected Point of Sales systems. After becoming a Zend Certified Engineer, Aaron started his own web development company based around open source software. He continues to release open source software and keeps an updated PHP centric blog at aaronsaray.com.

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

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.8 out of 5 stars  4 reviews
2 of 2 people found the following review helpful
3.0 out of 5 stars Decent book April 24 2012
By R B - Published on Amazon.com
Format:Paperback|Verified Purchase
This book has some pretty big errors and it's really vague with each design pattern. However it did help me understand PHP design patterns better.

I would recommend the head first of design patterns elements book. Since they use Java examples I would recommend to have your text editor open and "translate" the Java to PHP. I think that would really help to understand OO and design patterns better versus just reading the book and looking at Java examples.
8 of 11 people found the following review helpful
2.0 out of 5 stars few examples and not all patterns treated Feb. 9 2010
By Amazon Customer - Published on Amazon.com
First, sorry for mistakes, I'm from Italy so I will be very concise.
The problems of this book are:
- examples for each pattern: only one example and very very very ... too simple! examples in design pattern are very important - for me - , I think that a usefull book on patterns should present four or five examples for each pattern, at least.

- not all patterns are treated! What about "Chain of Responsability"? And "Abstract Factory"? And "Bridge"? And "composite" ? And "Flyweight"? This book has only 238 page, and you treat about pattern from 26 to 125 ... I think this is not enought.
3 of 4 people found the following review helpful
5.0 out of 5 stars Great Book! Easy to understand. Just what I needed... Sept. 1 2009
By Lee Thornton - Published on Amazon.com
Format:Paperback|Verified Purchase
This book was just what I needed to get a grasp on the design patterns and learn how to use them correctly. The examples are small enough to wrap my head around but big enough to get the idea of what is going on. I would recomend this to anyone that is a php programmer working wiht objects.

I have had the book for only 2 days and I already used the facade and the decorator pattern in a project. Just after I got the code installed on the website the owner changed his mind and requested some code changes. I found that it was much easier to manage his changes since I used the design patterns shown in this book. Actually it was almost a pleasure to make the changes to the code since it was set up properly in the first place.
1 of 2 people found the following review helpful
5.0 out of 5 stars Wish I had it when I started my latest project Aug. 11 2010
By ibbobb - Published on Amazon.com
I am not even half way through this book (am still working through the rest of the Patterns reference, haven't looked at the last three chapters) and am already kicking myself for not discovering this book sooner. My project that I am currently working on would have benefited greatly from some of the patterns in this book.

Every pattern has a simple, real life example of a problem and a simple solution. One of the things you have to realize about this book is that the patterns are not plug-and-play. You can't just insert the patterns into your project without modifying them; they have to be tailored to fit your project. Luckily, the pattern examples are clear enough that that shouldn't be a problem in most circumstances. I would recommend this book if you want to better organize your code and improve its scalability.

Also, I initially did not realize that there were a few chapters at the end of the book regarding implementing the patterns. The author talks about planning a project using Patterns, and then in another chapter builds the project. I will probably read over these chapters, as I would assume they are good examples of the patterns in action. When I originally wrote this review, I gave the product 5 stars BEFORE I realized these final chapters existed. I was pleasantly surprised by just the reference material. These final chapters are an added bonus in my book.

Look for similar items by category