Java Design Patterns: Structural

Java Design Patterns: Structural

1h 39mIntermediate2020-08-04

Authors

Bethan Palmer

Bethan Palmer

Developer

Course details

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

Skills covered

Software DesignJavaOracleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

Introduction

  • Improve code quality with structural design patterns
  • What you should know

Structural Design Patterns

  • What is a design pattern
  • Structural design patterns

The Adapter Pattern

  • Understand the Adapter pattern
  • Implement the Adapter pattern
  • Challenge The Adapter pattern
  • Solution The Adapter pattern

The Bridge Pattern

  • Understand the Bridge pattern
  • Avoid complex constructions
  • Implement the Bridge pattern
  • Challenge The Bridge pattern
  • Solution The Bridge pattern

The Composite Pattern

  • Understand the Composite pattern
  • Example of when to use the Composite pattern
  • Implement the Composite pattern
  • Challenge The Composite pattern
  • Solution The Composite pattern

The Decorator Pattern

  • Understand the Decorator pattern
  • Implement a Decorator class
  • Change component behavior dynamically
  • Challenge The Decorator pattern
  • Solution The Decorator pattern

The Fa ade Pattern

  • Understand the Fa ade pattern
  • Implement the Fa ade pattern
  • Challenge The Fa ade pattern
  • Solution The Fa ade pattern

The Flyweight Pattern

  • Understand the Flyweight pattern
  • Recognize where to use the Flyweight pattern
  • Implement the Fyweight pattern
  • Challenge The Flyweight pattern
  • Solution The Flyweight pattern

The Proxy Pattern

  • Understand the Proxy pattern
  • Recognize where to use the Proxy pattern
  • Implement the Proxy pattern
  • Challenge The Proxy pattern
  • Solution The Proxy pattern

Conclusion

  • Next steps
40,000 Toman