Python Design Patterns: Working with Creational Design Patterns

Python    |    Expert
  • 16 videos | 1h 48m 57s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 14 users Rating 4.6 of 14 users (14)
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

  • 2m 6s
  • 5m 27s
    After completing this video, you will be able to recall how the Singleton pattern works and when to use this pattern. FREE ACCESS
  • Locked
    3.  Implementing the Singleton Pattern
    8m
    In this video, learn how to write code for a simple implementation of the Singleton design pattern. FREE ACCESS
  • Locked
    4.  Pythonic Implementation of the Singleton Pattern
    7m 59s
    In this video, you will learn how to implement the Singleton pattern using a more Pythonic style. FREE ACCESS
  • Locked
    5.  The Global Object Pattern
    7m 55s
    In this video, you will learn how to implement the Singleton pattern using global variables in Python. FREE ACCESS
  • Locked
    6.  The Factory and Abstract Factory Patterns
    7m 28s
    After completing this video, you will be able to recall how the Factory and Abstract Factory patterns work and when they can be used. FREE ACCESS
  • Locked
    7.  Implementing a Simple Factory Method
    5m 53s
    In this video, learn how to implement a simple design for the Factory pattern. FREE ACCESS
  • Locked
    8.  Refactoring Code to Improve Design
    8m 7s
    During this video, you will learn how to improve the design of code using refactoring. FREE ACCESS
  • Locked
    9.  Applying the Factory Pattern to the Serializer
    9m 34s
    In this video, find out how to design and implement a serializer using the Factory pattern. FREE ACCESS
  • Locked
    10.  Implementing the Abstract Factory Pattern
    8m 1s
    In this video, you will learn how to apply the Abstract Factory pattern to create a family of objects. FREE ACCESS
  • Locked
    11.  The Builder Pattern
    5m 51s
    After completing this video, you will be able to recall how the Builder pattern works and when it should be used. FREE ACCESS
  • Locked
    12.  Implementing the Builder Pattern
    9m 15s
    During this video, you will learn how to implement a simple design using the Builder pattern. FREE ACCESS
  • Locked
    13.  The Object Pool Pattern
    6m 52s
    Upon completion of this video, you will be able to recall how the Object Pool pattern works and when it should be used. FREE ACCESS
  • Locked
    14.  Implementing the Object Pool Pattern
    10m 3s
    During this video, you will learn how to implement the Object Pool pattern to limit the number of instances created. FREE ACCESS
  • Locked
    15.  Setting Up the Object Pool as a Singleton
    5m 26s
    In this video, learn how to improve the Object Pool pattern by making the object pool a singleton. FREE ACCESS
  • 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 on some of our courses, 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

Rating 4.6 of 255 users Rating 4.6 of 255 users (255)
Rating 4.6 of 53 users Rating 4.6 of 53 users (53)
Rating 4.2 of 31 users Rating 4.2 of 31 users (31)