Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

1.1 Introduction

Hi, my name is Jeremy McPeak, and in this course I'm going to teach you several common design patterns in PHP. No matter what your level of skill, learning these patterns can make your code better.

1.Introduction
1 lesson, 01:40

1.1
Introduction
01:40

2.Creational Patterns
2 lessons, 11:52

2.1
Factory
05:30

2.2
Singleton
06:22

3.Structural Patterns
4 lessons, 33:47

3.1
Adapter
07:08

3.2
Composite
11:33

3.3
Decorator
08:02

3.4
Facade
07:04

4.Behavior Patterns
4 lessons, 36:32

4.1
Chain of Responsibility
12:12

4.2
Command
07:34

4.3
Observer
09:28

4.4
Strategy
07:18

5.Conclusion
1 lesson, 01:06

5.1
Conclusion
01:06


1.1 Introduction

Design patterns are the lifeblood of object-oriented programming. They are solutions to problems that every developer faces with just about every application that we write. Now you might think to yourself, well, I don't have problems, I write my code just fine. Well, yeah you do, and no you don't, because writing code is hard, especially object-oriented code. It's something we rarely get right the first time, and it's usually a mess that's difficult to follow and maintain. But that's exactly why we have design patterns, they give us a template that we can follow to make our code easier to maintain, and easier to adapt to changing requirements. Hi, I'm Jeremy McPeak, and in this course, I'm going to teach you several common design patterns that you can apply to your code to make your code better. Design patterns fall into several categories. And we're going to start with a few creational patterns. These type of patterns deal with creating objects, and we'll look at the factory and singleton patterns. You'll then learn some of the more popular structural patterns to create some relationships between different classes and entities. You'll learn about the adapter pattern, composites, decorator, and facade patterns. And then we'll talk about some behavioral patterns to enhance the communication between different objects. We'll examine the chain of responsibility pattern, the command pattern, the observer, and the strategy patterns. At the end of this course you'll have a solid grasp of how to implement these patterns. So when you're ready, cue up the next video and we will get started.

Back to the top