{{ variable.name }}
Introduction: This course will start with the basics of OOP in GO, select a typical design pattern from each type as a representative, and explain it in combination with practical development. It will follow the approach of "proposing design patterns - simple code deduction - practical scenario application" to guide you to easily get started with design patterns.
Chapter 1 Course Introduction
In this chapter, we will introduce why it is necessary to learn design patterns, the learning content and objectives of this course, as well as the explanation methods of this course. Finally, we will introduce the development demonstration environment of the course
1-1 Course Introduction
Chapter 2: Basics of OOP Programming
The purpose of this chapter is to lay a foundation of basic knowledge for the subsequent study of design patterns. It will lead everyone to understand the five fundamental principles of object-oriented programming and how the Go perspective implements the five fundamental principles of object-oriented programming.
2-1 Basics of go Object-Oriented Programming
Chapter 3 Introduction to Design Patterns
This chapter will explain the basic concepts of design patterns and the classification of commonly used design patterns, laying the groundwork and providing guidance for the subsequent explanations of different types of design patterns.
3-1 What are design patterns
Chapter 4: Factory Pattern of Creative Patterns
This chapter will cover design patterns such as the Simple Factory Pattern and its upgraded version, the Factory Method Pattern, including basic concepts, a simple code deduction process, and application methods in actual development. It will also discuss the differences between the Simple Factory Pattern and the Factory Method, as well as how to choose in actual development.
4-1 Simple Factory Pattern Concept and Code Deduction
4-2 Practical Simulation and Summary of the Simple Factory Model
4-3 Factory Method Pattern Concept and Code Deduction
4-4 Practical Simulation of Factory Method Patterns
Chapter 5 Decorative Patterns of Structural Patterns
This chapter will respectively introduce the concept of the decoration pattern, a simple code deduction, how it is used in development practice, and explain the advantages and disadvantages of this pattern as well as the application scenarios.
5-1 Decoration Pattern Concept and Code Deduction
5-2 Practical Simulation of Decoration Mode
Summary of 5-3 Decoration Patterns
Chapter 6: Strategic Patterns of Behavioral Patterns
This chapter will introduce the concept of the strategy pattern, a simple code deduction, how it is used in development practice, as well as the advantages and disadvantages of this pattern and the application scenarios.
6-1 The Concept of Strategy Patterns and Code Deduction
6-2 Practical Simulation of Strategy Patterns
6-3 Practical Simulation and Summary of Strategy Patterns
6-4 Summary of Strategy Patterns
Chapter 7 Course Summary
This chapter mainly reviews all the learned content and looks forward to the future learning of design patterns.
7-1 Course Summary