Java Design Patterns: Structural

Java Design Patterns: Structural

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 38m | 272 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 structural patterns, which can help you identify relationships and organize code into larger structures. Instructor Bethan Palmer shows how to use the seven most popular structural design patterns—Adapter, Bridge, Composite, Decorator, Façade, Flyweight, and Proxy—to write better, more maintainable Java code. She provides example use cases, complete with implementation instructions and tips for avoiding the unique challenges posed by each pattern. Every chapter contains a challenge to practice your new skills. By the end of the course, you’ll be armed with the knowledge necessary to implement structural design patterns in your own Java projects.

Topics include:

  • Making objects compatible with the Adapter pattern
  • Simplifying program structure with the Bridge pattern
  • Handling groups of objects with the Composite pattern
  • Adding dynamic functionality with the Decorator pattern
  • Hiding complexity with the Façade pattern
  • Representing multiple objects with the Flyweight pattern
  • Creating placeholders with the Proxy pattern
Table of Contents

1 Improve code quality with structural design patterns
2 What you should know
3 What is a design pattern
4 Structural design patterns
5 Understand the Adapter pattern
6 Implement the Adapter pattern
7 Challenge The Adapter pattern
8 Solution The Adapter pattern
9 Understand the Bridge pattern
10 Avoid complex constructions
11 Implement the Bridge pattern
12 Challenge The Bridge pattern
13 Solution The Bridge pattern
14 Understand the Composite pattern
15 Example of when to use the Composite pattern
16 Implement the Composite pattern
17 Challenge The Composite pattern
18 Solution The Composite pattern
19 Understand the Decorator pattern
20 Implement a Decorator class
21 Change component behavior dynamically
22 Challenge The Decorator pattern
23 Solution The Decorator pattern
24 Understand the Façade pattern
25 Implement the Façade pattern
26 Challenge The Façade pattern
27 Solution The Façade pattern
28 Understand the Flyweight pattern
29 Recognize where to use the Flyweight pattern
30 Implement the Fyweight pattern
31 Challenge The Flyweight pattern
32 Solution The Flyweight pattern
33 Understand the Proxy pattern
34 Recognize where to use the Proxy pattern
35 Implement the Proxy pattern
36 Challenge The Proxy pattern
37 Solution The Proxy pattern
38 Next steps