Design patterns are the lifeblood of object-oriented programming. They are solutions to problems that every developer faces with just about every application that they write. No matter what your level of skill, studying design patterns can make your code better.
In this course, Jeremy McPeak will walk you through some of the most fundamental design patterns and show you how to implement them in PHP. For each pattern, you'll see a real-world example of that pattern in use, as well as a complete implementation in PHP.
If you're new to PHP you should watch our course How to Become a Web Developer: Learn PHP. If you want to learn PHP from start to finish, check out our comprehensive course on PHP Fundamentals.
1.Introduction1 lesson, 01:40
1 lesson, 01:40
1.1Introduction01:40
1.1
Introduction
01:40
2.Creational Patterns2 lessons, 11:52
2 lessons, 11:52
2.1Factory05:30
2.1
Factory
05:30
2.2Singleton06:22
2.2
Singleton
06:22
3.Structural Patterns4 lessons, 33:47
4 lessons, 33:47
3.1Adapter07:08
3.1
Adapter
07:08
3.2Composite11:33
3.2
Composite
11:33
3.3Decorator08:02
3.3
Decorator
08:02
3.4Facade07:04
3.4
Facade
07:04
4.Behavior Patterns4 lessons, 36:32
4 lessons, 36:32
4.1Chain of Responsibility12:12
4.1
Chain of Responsibility
12:12
4.2Command07:34
4.2
Command
07:34
4.3Observer09:28
4.3
Observer
09:28
4.4Strategy07:18
4.4
Strategy
07:18
5.Conclusion1 lesson, 01:06
1 lesson, 01:06
5.1Conclusion01:06
5.1
Conclusion
01:06
I started my development career on the client-side writing JavaScript and DHTML components in my spare time. In 2005, Nicholas C. Zakas asked me to join him in writing the first edition of Professional Ajax for Wiley Publishing. Since Professional Ajax, 1st Edition, I've been blessed to take part in other book projects: Professional Ajax 2nd Edition, and Beginning JavaScript 3rd and 4th editions.