FREELessons: 13Length: 1.6 hours

Next lesson playing in 5 seconds

Cancel
  • 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.