Creational Design Patterns in Modern C++

Implement key Creational Design Patterns in Modern C++ with multiple examples & case studies. to manage object creation effectively for more flexible and maintainable software designs.

Course Description

This course offers a focused exploration of Creational Design Patterns within the context of Modern C++. Participants will gain a solid understanding of patterns like Singleton (including thread-safe versions and alternatives like Monostate), Factory Method, Abstract Factory, Object Pool, Prototype (covering shallow and deep copying), and Builder (including fluent interfaces). Through practical examples and discussions of pros and cons, the course equips C++ developers to effectively manage object creation, enhancing flexibility and maintainability in their software designs.

Features

7.5-hrs On Demand Video

Exclusive 1-on-1 With Instructor

Course Completion Certificate

Priority Q/A

Full Lifetime Access

Community Access

Curriculum

Understand in detail on what is planned under each module

Course Overview

📞 Exclusive 30-Minute Session

📊 Course Material

📄 Source Code

Introduction To Patterns

Overview of Class Diagram

Overview of Creational Patterns

S.O.L.I.D. Principles

Introduction

Basic example

Logger Class - I

Logger Class - II

Lazy Instantiation

Destruction Policies

Issues in Multithreading Environment

Issues with DCLP

Meyers Singleton

Using std::call_once

CRTP Idiom with Singleton

Clock Class

Monostate Pattern

Singleton Vs Monostate

Singleton Issues

Registry of Singletons - I

Registry of Singletons - II

Pros & Cons

Progress Update

Introduction

Basic Example - I

Basic Example - II

Application Framework Discussion

Application Framework Implementation

Application Framework through Factory Method

Parameterized Factory Method

std::unique_ptr

std::shared_ptr

Pros & Cons

Introduction

Basic Example

Pooing Game Objects - I

Pooing Game Objects - II

Multiple Actors - I

Multiple Actors - II

Multiple Actors - III

Generic Reusable Pool - I

Generic Reusable Pool - II

Pros & Cons

Course Review - Reminder

[Introduction

Basic Example without Abstract Factory

Basic Example with Abstract Factory

Database Framework Introduction

Database Framework Implementation

SqlServer Database Classes

MySql Database Classes

Database Framework Usage

Using Factory Method

Using Abstract Factory

Pros & Cons

Introduction

Overview of Cloning & Types

Basic Example

Game Introduction

Game Implementation - I

Game Implementation - II

Game Implementation - III

Cloning Example

Prototype Implementation - I

Prototype Implementation - II

Prototype Implementation - III

Classes Vs Objects

Varying State

Prototype Manager - I

Prototype Manager - II

Memory Management

Pros & Cons

Introduction

Basic Example

File Example Introduction

Issues

Builder Implementation

Construction Using Builder

Modern Implementation

Fluent Builder

Pros & Cons

Quiz

Before you go...

Why Do This Course

Master essential Creational Design Patterns to gain precise control over object instantiation in C++.

Learn to build more flexible and decoupled systems by abstracting complex object creation logic.

Simplify intricate object construction processes and enhance the overall design of your applications.

Gain practical, hands-on experience through multiple examples & case-studies

Understand the specific pros, cons, and ideal use cases for each covered creational pattern.

Requirements

  • Basic knowledge of C++
  • Some understanding of object-oriented programming concepts
  • Modern C++ compiler (Visual Studio 2022, gcc 13, clang 17)

Related Products

Additional products that may be relevant to your interests

Image23

Instructor


- Hello! I'm Umar Lone

I've educated and mentored students and professionals globally, leveraging over 20 years of experience in C++, Object-Oriented Programming, Design Patterns, and related technologies. My professional background includes significant contributions to C++, Java, and C# projects with esteemed companies, alongside providing specialized project consultation & mentoring.


My current focus is on delivering comprehensive video courses that distill this extensive knowledge. I specialize in transforming intricate concepts into clear, practical, and actionable insights, supported by real-world examples. This approach is designed to equip you with the necessary clarity and confidence for sustained growth and impactful contributions within your projects and career trajectory.


Begin your learning journey with me now and unlock the advanced understanding and practical expertise essential for making a significant impact in your field.


Keep in touch

Subscribe for announcements, new courses & discount coupons

Yes please, save my details so you can send me educational content that is relevant and helpful.