Tags: Application, C++, Design Patterns, developers, diagrams, framework, implementation, multithreading, programming, structure, Umar Lone, UML
The best way to solve common object-oriented design problems is by implementing design patterns. However, understanding and learning design patterns can be time-consuming and intimidating, but this course has got you covered! With Creational Design Patterns in Modern C++, you’ll learn how to understand and implement creational design patterns in C++ with the help of engaging examples.
The course begins with an introduction to creational patterns, giving you a tour of UML class diagrams and SOLID principles. You’ll become familiar with logger classes, multithreading, and patterns and gain a solid understanding of singletons in C++. As you progress, you’ll get to grips with the factory method and find out how to implement it in the application framework. Once you’ve covered the intent, structure, and implementation of the object pool pattern, you’ll discover how to use the abstract factory pattern. Finally, you’ll delve into prototype implementation with the help of a gaming example and apply the builder pattern.
By the end of this course, you’ll have developed skills needed to create and implement patterns in modern C++.
The code bundle for this course is available at https://github.com/PacktPublishing/Creational-Design-Patterns-in-Modern-C-plus-plus
What you’ll learn
– Understand what creational design patterns are
– How creational design patterns solve object construction problems
– Implement singleton correctly in C++ with thread-safety
– Use factory method to encapsulate the construction process
– Use object pool pattern to avoid repetitive construction & destruction of objects
– Control construction process of an object through builder
– Clone expensive objects through prototype
– Use abstract factory to construct objects based on a context
Umar Lone, is a civil engineer who found his calling in software development. He started teaching C++ and Visual C++ 13 years ago and is currently training software professionals in IT companies in India in different technologies, such as modern C++, advanced C++, STL, design patterns, Android, Unity, and Linux. He is extremely passionate about teaching and has trained more than 10,000 software professionals in over 10 years. An avid gamer, Umar is also trying his hand at game development in Unity and Unreal. He has a few Android applications to his credit, including one on design patterns.