Python Design Patterns: Working with Behavioral Design Patterns


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Explore the design and implementation of five commonly used behavioral design patterns: Strategy, Chain of Responsibility, Observer, Command, and Iterator. Examine how these patterns can be used in Python built-in functions, in simple and complex use cases, for performing undo operations, and with Python special methods. Key concepts covered in this course include the Strategy pattern, how to design and implement the  pattern, and how it is used in Python built-in functions; and learning the Chain of Responsibility pattern and how to write code to implement the pattern. Next, you will learn about the Observer pattern and how to implement the pattern for a simple use case and how to implement the pattern for a more complex use case. Finally, learners will study the Command pattern and how to implement the pattern to perform undo operations; and learn the Iterator pattern and its applications and learn to design an Iterator by using special methods in Python.



Expected Duration (hours)
1.5

Lesson Objectives

Python Design Patterns: Working with Behavioral Design Patterns

  • discover the key concepts covered in this course
  • describe the Strategy pattern and its use cases
  • design and implement the Strategy pattern and recognize how it is used in Python built-in functions
  • describe the Chain of Responsibility pattern and how it is used
  • write code to implement the Chain of Responsibility pattern
  • describe the Observer pattern and when it should be used
  • implement the Observer pattern for a simple use case
  • implement the Observer pattern for a more complex use case
  • describe the Command pattern and its use cases
  • implement the Command pattern to perform undo operations
  • describe the Iterator pattern and its applications
  • design an Iterator using special methods in Python
  • summarize the key concepts covered in this course
  • Course Number:
    it_pydppydj_04_enus

    Expertise Level
    Expert