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.Introduction1 lesson, 01:40
2.Creational Patterns2 lessons, 11:52
3.Structural Patterns4 lessons, 33:47
4.Behavior Patterns4 lessons, 36:32
4.1Chain of Responsibility12:12
5.Conclusion1 lesson, 01:06
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.