Skip to Main Content
PHP Master
book

PHP Master

by Davey Shafik, Lorna Mitchell, Matthew Turland
October 2011
Intermediate to advanced content levelIntermediate to advanced
400 pages
9h 23m
English
SitePoint
Content preview from PHP Master

Chapter 4 Design Patterns

In this chapter, you’ll learn some essential design principles that will form the keystone of many architectural decisions you’ll make along your application’s development path.

As with the real world, repeated tasks have best practices—you put your clothes through the washing machine before sticking them in the dryer or on the clothesline, right? Similarly, common code architecture problems have best-practice solutions; these are known as design patterns.

What Are Design Patterns?

Hammer: nail. Screwdriver: screw. You need the right tool for the right job. Design patterns are really just a bunch of tools in your toolbox; sometimes you’ll find one that fits the job, sometimes you need to use more than ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP Object-Oriented Solutions

PHP Object-Oriented Solutions

David Powers
PHP 5 Unleashed

PHP 5 Unleashed

John Coggeshall
Intermediate PHP

Intermediate PHP

Lorna Jane Mitchell

Publisher Resources

ISBN: 9780987090874Errata