O'Reilly logo

Object-Oriented Programming with PHP5 by Hasin Hayder

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Design Patterns

Object oriented programming was basically introduced to ease the development process as well as reduce the time of development by reducing amounts of code. If properly planned and designed, OOP can increase the performance of the program to a great extent. One of those magical performance cum code reduction issues is "Design Pattern" which was introduced by Eric Gamma and his three other friends in the book Design Patterns in 1972. Because of four authors, the book was introduced as written by Gang of Four or simply Goff. In that legendary book, Gang of Four introduced several patterns to minimize the amount of code as well as to introduce effective coding practice. In this chapter we will learn some of those patterns ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required