Design Patterns in Java: Structural

Design Patterns in Java: Structural

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 2h 42m | 414 MB

The Gang of Four Design Patterns explained and implemented using Java.

This course is part of a three-part series covering design patterns using Java. This part covers structural design patterns such as Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy as defined by the Gang of Four. We look at examples in the Java API and code examples of each pattern.

Table of Contents

Introduction and Prerequisites
1 Introduction
2 Why Learn Patterns
3 Pattern Classifications
4 Which Patterns
5 How Do We Learn Them
6 Prerequisites
7 Next

Adapter Design Pattern
8 Introduction
9 Plug Adapter
10 Concepts
11 Design Considerations
12 Example ArraysasList
13 Demo ArraysasList
14 Exercise – Create Adapter
15 Demo Adapter
16 Demo Second Adapter
17 Pitfalls
18 Contrast to Other Patterns
19 Summary

Bridge Design Pattern
20 Introduction
21 Concepts
22 Design Considerations
23 UML Diagram
24 Example JDBC
25 Demo JDBC
26 Exercise – Create Adapter
27 Demo Shape Without a Bridge
28 Demo Shape With a Bridge
29 Demo Movie Printer Bridge
30 Demo Movie Printer HTML Bridge
31 Pitfalls
32 Contrast to Other Patterns
33 Summary

Composite Pattern
34 Introduction
35 Concepts
36 Design Considerations
37 UML Diagram
38 Example Map
39 Demo Map
40 Exercise – Create Composite
41 Demo Composite Menu
42 Demo Unsupported Operations Exception
43 Pitfalls
44 Contrast to Other Patterns
45 Summary

Decorator Pattern
46 Introduction
47 Concepts
48 Design Considerations
49 UML Diagram
50 Example File
51 Demo File
52 Exercise – Create Composite
53 Demo Composite Menu
54 Pitfalls
55 Contrast to Other Patterns
56 Summary

Facade Pattern
57 Introduction
58 Concepts
59 Design Considerations
60 UML Diagram
61 Example URL
62 Demo URL
63 Exercise – JDBC
64 Demo JDBC Without a Facade
65 Demo JDBC Facade
66 Pitfalls
67 Contrast to Other Patterns
68 Summary

Flyweight Pattern
69 Introduction
70 Concepts
71 Design Considerations
72 UML Diagram
73 Example Integer
74 Demo Integer
75 Exercise – Flyweight
76 Demo Flyweight
77 Pitfalls
78 Contrast to Other Patterns
79 Summary

Proxy Pattern
80 Introduction
81 Concepts
82 Design Considerations
83 UML Diagram
84 Example Proxy
85 Demo Proxy
86 Exercise – Twitter Proxy
87 Demo Twitter Implementation
88 Demo Security Proxy
89 Pitfalls
90 Contrast to Other Patterns
91 Summary

Next
92 What Next