Introduction

This lesson explains what creational patterns are and goes over the patterns that we'll cover in this chapter.

We'll cover the following

What are creational patterns? #

In this chapter, we will discuss creational patterns. As the name implies, these patterns provide optimized object creation techniques. These patterns help cater to the design and complexity problems that might occur when using the basic approach. The creational patterns help in controlling the creation of objects.

The creational patterns we will cover in this chapter include:

  • Factory Pattern

  • Constructor Pattern

  • Singleton Pattern

  • Builder Pattern

  • Prototype Pattern

  • Abstract Pattern


Let’s start by discussing the factory pattern in the next lesson.