English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 03m | 160 MB
Design patterns provide a kind of template for writing quality code. Knowing which design pattern to use in which scenario can be challenging, but will make you a better Java programmer. This course takes a deep dive into creational patterns, which can help you create more flexible, reusable objects. Instructor Bethan Palmer covers the five most popular creational patterns—Builder, Singleton, Prototype, Factory Method, and Abstract Factory—as well as concepts such as multithreading, mutability, and hierarchies. She provides example use cases, complete with implementation instructions and tips for avoiding the unique challenges posed by each pattern. By the end of the course, you’ll be armed with the knowledge and skills necessary to implement each design pattern in your own Java projects.
Topics include:
- What are creational design patterns?
- Avoid complex constructors
- Implementing the Builder pattern
- Multithreading with the Singleton pattern
- Using the Prototype pattern
- Implementing a simple Factory Method pattern
- Making code more flexible with the Abstract Factory pattern
Table of Contents
Introduction
1 Improve code with creational design patterns
2 What you should know
Creational Design Patterns
3 What is a design pattern
4 Creational design patterns
The Builder Pattern
5 Avoid complex constructors
6 Implement the Builder pattern
7 Implement a complete Builder pattern
8 Complex constructions
The Singleton Pattern
9 When to use the Singleton pattern
10 Implement the Singleton pattern
11 Multithreading with the Singleton pattern
12 Java s Collection class
The Prototype Pattern
13 Understand the Prototype pattern
14 Implement the Prototype pattern
15 Dealing with mutability
The Factory Method Pattern
16 Understand the Factory Method pattern
17 Implement a simple Factory Method pattern
18 Introduction to hierarchies
19 The complete Factory Method pattern
Abstract Factories
20 Understand the Abstract Factory pattern
21 Dealing with extensible factories
22 Implement the Abstract Factory pattern
23 Implement extensible factories
Conclusion
24 Next steps
Resolve the captcha to access the links!