FREELessons: 13Length: 1.6 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

3.1 What is the Singleton Pattern?

In this lesson we'll define The Singleton Pattern, as well as look at a diagram of the pattern so that we understand not only how it works, but the flow of control through the pattern.

In addition to looking at diagrams, we'll take a look at sample code and see how it all fits together, versus the traditional model of creating multiple instances of an object based on a class.