English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 26m | 381 MB
Design patterns solve the challenges software developers face over and over again. They are reusable, proven solutions that make your software more reliable and flexible to change. Creational design patterns move the creation of objects out of the main codebase and into separate classes-a best practice known as encapsulation. This course explores the five most popular creational design patterns for C++. To convince you of their merits, instructor Olivia Chiu first explains why we use design patterns in the first place, and what problems that creational patterns can help you solve. She then reviews the core concepts, implementation instructions, and examples for each pattern: Factory, Abstract Factory, Builder, Prototype, and Singleton. She also shows how to extend patterns and compare patterns to find the best fit for your applications.
Topics include:
- Creational pattern concepts
- Running C++ design patterns
- Implementing design patterns
- Extending design patterns
- Comparing creational patterns
Table of Contents
Introduction
1 Welcome
2 What you should know
3 Installing Visual Studio for Windows
4 Installing Visual Studio for Mac
5 How to use exercise files
6 Challenges explained
Design Patterns Overview
7 The need for a design pattern
8 What are design patterns
9 Creational patterns overview
Creational Patterns
10 Inheritance vs. composition
11 Composite object example
12 Concrete vs. abstract
13 Understanding UML
Factory Method
14 Factory method concept
15 Factory method implementation
16 Running the Factory method example
17 Factory variations
Abstract Factory
18 Abstract Factory concept
19 Abstract Factory pattern implementation
20 Using the Abstract Factory
21 Running the Abstract Factory
22 Extending the Abstract Factory
23 Challenge
24 Solution
Builder
25 Builder concept
26 Builder pattern setup
27 Builder pattern implementation
28 Running the Builder example
29 Steps in the Builder pattern
Prototype
30 Prototype concept
31 Prototype pattern implementation
32 Running the Prototype example
33 Shallow copy vs. deep copy
Singleton
34 Singleton concept
35 Singleton implementation
36 Running the Singleton pattern
37 Is the Singleton a good pattern
Conclusion
38 Comparing creational patterns
39 Next steps
Resolve the captcha to access the links!