FREELessons: 13Length: 1.6 hours
- Overview
- Transcript
4.2 Implementing The Simple Factory Pattern (Part 1)
In this lesson, we continue with our discussion of the Simple Factory by beginning to implement it in our plugin. We're going to move forward by adding a couple of new classes all based on the diagrams we reviewed in the previous lesson.
During this lesson, we begin by implementing our `Social_Network` class, its subclasses, and the Simple Factory class. This sets the stage for the next lesson in which we begin refactoring our code to implement the Simple Factory pattern.
1.Introduction4 lessons, 28:18
4 lessons, 28:18
1.1Plan For The Course02:41
1.1
Plan For The Course
02:41
1.2The Development Environment (Part 1)07:01
1.2
The Development Environment (Part 1)
07:01
1.3The Development Environment (Part 2)09:24
1.3
The Development Environment (Part 2)
09:24
1.4WordPress Plugins09:12
1.4
WordPress Plugins
09:12
2.Design Patterns1 lesson, 05:49
1 lesson, 05:49
2.1What Are Design Patterns?05:49
2.1
What Are Design Patterns?
05:49
3.The Singleton Pattern3 lessons, 21:13
3 lessons, 21:13
3.1What is the Singleton Pattern?04:55
3.1
What is the Singleton Pattern?
04:55
3.2Implementing The Singleton Pattern (Part 1)05:25
3.2
Implementing The Singleton Pattern (Part 1)
05:25
3.3Implementing The Singleton Pattern (Part 2)10:53
3.3
Implementing The Singleton Pattern (Part 2)
10:53
4.The Simple Factory Pattern3 lessons, 24:31
3 lessons, 24:31
4.1What is the Simple Factory Pattern?06:04
4.1
What is the Simple Factory Pattern?
06:04
4.2Implementing The Simple Factory Pattern (Part 1)08:01
4.2
Implementing The Simple Factory Pattern (Part 1)
08:01
4.3Implementing The Simple Factory Pattern (Part 2)10:26
4.3
Implementing The Simple Factory Pattern (Part 2)
10:26
5.Conclusion2 lessons, 13:12
2 lessons, 13:12
5.1Understanding The Flow of Control07:26
5.1
Understanding The Flow of Control
07:26
5.2Wrapping It All Up: On To Other Patterns!05:46
5.2
Wrapping It All Up: On To Other Patterns!
05:46