Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Java Design Patterns: Behavioral Part 1

Java Design Patterns: Behavioral Part 1

1h 17mIntermediate2020-10-05

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 behavioral patterns, which can help you abstract the complex flow of applications and focus on interactions between objects. Instructor Bethan Palmer shows how to use the six most popular behavioral design patterns—Chain of Responsibility, Command, Interpreter, Iterator, Mediator, and Memento—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 behavioral design patterns in your own Java projects.

Learning objectives
Passing requests to objects with Chain of Responsibility
Encapsulating a request as an object with Command
Interpreting sentences in a language with Interpreter
Accessing objects in order with Iterator
Defining how objects work together with Mediator
Capturing and restoring an object's state with Memento

Skills covered

Software Design PatternsJavaOracleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Improve code quality with behavioral design patterns
  • 02 - What you should know

1. Behavioral Design Patterns

  • 03 - What is a design pattern
  • 04 - Behavioral design patterns

2. The Chain of Responsibility Pattern

  • 05 - Understanding the Chain of Responsibility pattern
  • 06 - Implementing a successor chain
  • 07 - Making a request
  • 08 - Challenge - The Chain of Responsibility pattern
  • 09 - Solution - The Chain of Responsibility pattern

3. The Command Pattern

  • 10 - Understanding the Command pattern
  • 11 - Creating the components for a Command pattern
  • 12 - Implementing a complete Command pattern
  • 13 - Challenge - The Command pattern
  • 14 - Solution - The Command pattern

4. The Interpreter Pattern

  • 15 - Understanding the Interpreter pattern
  • 16 - Creating an interpreter for a language
  • 17 - Interpreting a variable
  • 18 - Challenge - The Interpreter pattern
  • 19 - Solution - The Interpreter pattern

5. The Iterator Pattern

  • 20 - Understanding the Iterator pattern
  • 21 - Creating an iterable
  • 22 - Creating an iterator
  • 23 - Challenge - The Iterator pattern
  • 24 - Solution - The Iterator pattern

6. The Mediator Pattern

  • 25 - Understanding the Mediator pattern
  • 26 - Avoiding tight coupling between objects
  • 27 - Creating a mediator object
  • 28 - Challenge - The Mediator pattern
  • 29 - Solution - The Mediator pattern

7. The Memento Pattern

  • 30 - Understanding the Memento pattern
  • 31 - Restoring an object's state
  • 32 - Challenge - The Memento pattern
  • 33 - Solution - The Memento pattern

Conclusion

  • 34 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal