Behavioral Design Patterns in C++

The course takes a structured approach to explain each pattern, starting with an introduction and then diving into its intent, structure, participants, and communication with the client. The UML class diagram is provided to illustrate the pattern’s structure and how classes interact with each other.

The guide includes a simple example implementation of the pattern, which helps students understand the pattern’s implementation and application in real-life scenarios. However, the course also highlights potential design issues in the example and explains how to refactor and apply the pattern effectively to avoid errors.

One of the key strengths of this guide is that it goes beyond a single implementation of each pattern. Then it discusses multiple implementations of the same pattern, helping students expand their knowledge of the pattern and how it can be applied in different scenarios. The pros and cons of each pattern are also discussed, providing students with a well-rounded understanding of each pattern’s strengths and limitations.

The different types of design patterns that you will study include Strategy, Template Method, Command, Memento, CoR (Chain of Responsibility), Observer, Mediator, Visitor, Interpreter, State, and Iterator. In addition to this, you will also learn about the pros and cons of each pattern.

By the end of this course, you will be well-versed with behavioral design patterns and will have developed the skills to implement them in modern C++.

All the resource files are added to the GitHub repository at: https://github.com/PacktPublishing/Behavioral-Design-Patterns-in-C-

Type
video
Category
publication date
2023-04-18
what you will learn

Implement behavioral design patterns using modern C++ features
See how behavioral design patterns use compile and runtime polymorphism
Look at the Strategy, Template Method, and Command design patterns
Learn Memento, CoR (Chain of Responsibility), and State design patterns
See Observer, Mediator, Visitor, Interpreter, and Iterator design patterns
Explore the pros and cons of each design pattern

duration
747
key features
Discover amazing techniques to tweak design patterns for performance and maximum flexibility using C++ * Simulation of code is discussed, and a refactoring approach is used, which is how we apply patterns in software * The practical examples will compile and execute on any platform that supports a C++ compiler
approach
The approach comprises intent, implementation, familiarity, more examples, refactoring, alternatives, tweaks, and pros and cons for each design pattern.

With the help of real-world examples written in modern C++, this course gets you acquainted with different types of behavioral design patterns and helps you understand how a pattern can be implemented efficiently using language features.
audience
If you are a student who wants to get a basic understanding of design patterns; a software developer, project manager, or an architect who wants to understand and implement design patterns in their projects; or a C++ developer who wants to implement design patterns in C++, this course is for you. To get started with this course, it is necessary to have basic knowledge of C++ and object-oriented programming concepts.
meta description
Supercharge your C++ skills with this comprehensive course on behavioral design patterns. Discover their secrets, learn implementation, and build efficient, scalable software like a pro!
short description
This Design Patterns course is a unique offering that focuses on modern C++ features and behavioral design patterns. The course content is extensive and carefully curated, with a deep dive into each pattern to ensure a thorough understanding of its implementation.

Gain a comprehensive understanding of the pattern’s intricacies.
subtitle
Learn behavioral design patterns and their implementation in modern C++
keywords
Design Patterns, behavioral design pattern, C++, C++17, Structures, strategy, template method, command, Memento, CoR (Chain of Responsibility), Observer, Mediator, Visitor, Interpreter, State, and Iterator, single-thread, multi-thread, UML, polymorphism
Product ISBN
9781804615652