Abstract Factory Pattern (Gang of Four)

Published: 08 February 2021
on channel: Wes Doyle
3,996
122

#designpatterns​​ #dotnet​​ #gangoffour​

The Abstract Factory Pattern is one of the Creational Patterns catalogued in the famous Gang of Four Design Patterns: Elements of Reusable Object-Oriented Software book by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides.

The Abstract Factory Patterns enables us to create an abstraction for creating families of related or dependent objects without specifying their concrete classes. This can potentially keep our creational code and its products loosely coupled from our client code, and provide extensibility in terms of new "families" of products. However, this pattern does introduce quite a bit of complexity, so design with care and work to understand the dimensions along which your objects want to grow or change before reaching for this one!

In this series, we’ll be going through each of the patterns covered in the “Gang of Four” Design Patterns - Elements of Reusable Object-Oriented Software. Each video will use a real-world example, taking inspiration from food-based businesses. I’m including typical integrations in the form of mock databases, AMQP queues, email services, and loggers, as well as several features from C# 9.0. All of the code for this series is open source and available at the GitHub link below.

Check out my flagship Udemy course - 12-hour full-stack app build with automation tests, Vue.js, .NET Core, and SQL (Use Promo Code STACK21)

▬▬▬▬▬▬ 🎒 Udemy Course 🎒 ▬▬▬▬▬▬
Learn Full Stack Development with .NET and Vue.js in 2021!

►►► bit.ly/wesd-udemy

▬▬▬▬▬▬ 👋 Get in Touch! 👋 ▬▬▬▬▬▬
Facebook Group ► https://bit.ly/productive-dev-fb​​
My Twitter ► https://bit.ly/wesd-twitter​​
My LinkedIn ► https://bit.ly/wesd-linkedin​​

▬▬▬▬▬▬ 🕘 T I M E S T A M P S 🕘 ▬▬▬▬▬▬

0:00​​ - Introduction to the Builder Pattern
3:40 - Motivation / Definition

8:00​​ - Drawbacks / Considerations
8:56​​ - UML Diagrams
16:30 - Demo Console App
16:49 - Code Walkthrough




▬▬▬▬▬▬ 📚 TOPICS OVERVIEW 📚 ▬▬▬▬▬▬


☁️ Design Patterns ☁️
► Abstract Factory Pattern
► Factory Pattern
► Object Oriented Design
► Gang of Four

► Making Code Easy to Change
► Refactoring
► Design Pattern Complexity

► OOP
► C#
► .NET 5

▬▬▬▬▬▬ 🔗 LINKS ▬▬▬▬▬▬
► GitHub repo for this project:
https://github.com/wesdoyle/design-pa...


Watch video Abstract Factory Pattern (Gang of Four) online without registration, duration hours minute second in high quality. This video was added by user Wes Doyle 08 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,996 once and liked it 122 people.