Python Design Patterns: Working with Creational Design Patterns

Python 3.7    |    Expert
  • 16 Videos | 1h 55m 57s
  • Includes Assessment
  • Earns a Badge
Likes 21 Likes 21
In this 16-video course, learners will explore the details and implementation of five commonly used creational design patterns: Singleton, Factory, Abstract Factory, Builder, and Object Pool. Key concepts covered here include how the Singleton pattern works and when to use it; how to write code for a simple implementation of the Singleton pattern; and how to implement the Singleton pattern by using a more Pythonic style and global objects in Python. Next, learn how the Factory and Abstract Factory patterns work; how to iteratively improve the design of code using refactoring; and how to design and implement the serializer with the Factory pattern. Continue by learning how to apply the Abstract Factory pattern to create a family of objects; how the Builder pattern works and how to implement a simple design for the Builder pattern; and how the Object Pool pattern works and how to implement the Object Pool pattern to limit the number of instances. Finally, learn how to improve the Object Pool pattern by making the object pool a singleton.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    recall how the Singleton pattern works and when to use this pattern
    write code for a simple implementation of the Singleton pattern
    implement the Singleton pattern using a more Pythonic style
    implement the Singleton pattern using global objects in Python
    recall how the Factory and Abstract Factory patterns work and when they can be used
    implement a simple design for the Factory pattern
    iteratively improve the design of code using refactoring
  • design and implement the serializer using the Factory pattern
    apply the Abstract Factory pattern to create a family of objects
    recall how the Builder pattern works and when it should be used
    implement a simple design for the Builder pattern
    recall how the Object Pool pattern works and when it should be used
    implement the Object Pool pattern to limit the number of instances
    improve the Object Pool pattern by making the object pool a singleton
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 6s
    UP NEXT
  • Playable
    2. 
    The Singleton Pattern
    5m 27s
  • Locked
    3. 
    Implementing the Singleton Pattern
    8m
  • Locked
    4. 
    Pythonic Implementation of the Singleton Pattern
    7m 59s
  • Locked
    5. 
    The Global Object Pattern
    7m 55s
  • Locked
    6. 
    The Factory and Abstract Factory Patterns
    7m 28s
  • Locked
    7. 
    Implementing a Simple Factory Method
    5m 53s
  • Locked
    8. 
    Refactoring Code to Improve Design
    8m 7s
  • Locked
    9. 
    Applying the Factory Pattern to the Serializer
    9m 34s
  • Locked
    10. 
    Implementing the Abstract Factory Pattern
    8m 1s
  • Locked
    11. 
    The Builder Pattern
    5m 51s
  • Locked
    12. 
    Implementing the Builder Pattern
    9m 15s
  • Locked
    13. 
    The Object Pool Pattern
    6m 52s
  • Locked
    14. 
    Implementing the Object Pool Pattern
    10m 3s
  • Locked
    15. 
    Setting Up the Object Pool as a Singleton
    5m 26s
  • Locked
    16. 
    Course Summary
    1m 1s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 1602 Likes 1602  
Likes 159 Likes 159