Abstract Factory Pattern - DESIGN PATTERNS (C#/.NET)

  Рет қаралды 6,195

SingletonSean

SingletonSean

Күн бұрын

Learn about the abstract factory design pattern, which is a creational pattern that relies on methods to instantiate a family of objects. I also highlight how this pattern relates to SOLID principles, including the open/closed principle and Liskov substitution principle.
Design patterns are important for implementing object-oriented designs and adhering to SOLID principles. Understanding these fundamental patterns helps software developers build clean and maintainable applications.
Timestamps:
0:00 - Pattern Introduction
0:53 - Demo Introduction
2:06 - Implementation
SOURCE CODE: github.com/SingletonSean/desi...
OTHER LINKS:
Donations: www.paypal.com/biz/fund?id=UB...

Пікірлер: 19
@2005Azm
@2005Azm 3 жыл бұрын
Great tutorial, I wonder what it takes to get such a deep understanding of all this concepts!!! I'm jealous 😏
@francisriley2409
@francisriley2409 2 жыл бұрын
Nice one Sean, good explanation as well as recap on the using statement, thanks.
@shahjahan12003
@shahjahan12003 3 жыл бұрын
Clear Understandable. Thank you very much to help us by adding such kind of video. Like it...
@sumittandon6246
@sumittandon6246 Жыл бұрын
Really Good one 👏👏
@shahjahan12003
@shahjahan12003 3 жыл бұрын
Best tutorial for Abstract factory so far.
@user-vi7xn1tj9f
@user-vi7xn1tj9f Ай бұрын
Yeah. Not turning it into a rocket science...
@Tof__
@Tof__ 3 жыл бұрын
To be honest, I dont like educators like Tim Corey, or random india guys, which are hard to understand. Your voice is nice to listen to and you are expressing and explaining everything just right. I would say you should have much more subs and views.
@SingletonSean
@SingletonSean 3 жыл бұрын
Haha, thanks Tofik! Glad my videos are helping out
@2005Azm
@2005Azm 3 жыл бұрын
Great tutorial... Thank you sir
@RodrigodeFreitasPuls
@RodrigodeFreitasPuls Жыл бұрын
Thanks!
@maikborchardt5692
@maikborchardt5692 2 жыл бұрын
Thank you !
@SingletonSean
@SingletonSean 2 жыл бұрын
Thanks for supporting the channel Maik!
@longuinni
@longuinni 3 жыл бұрын
Really easy to understand.Thanks for sharing. But what's the difference from create an object from DI container and a factory?
@SingletonSean
@SingletonSean 3 жыл бұрын
Thanks Fernando! Great job relating the abstract factory to DI containers. I was actually going to make "bonus" videos for this series with more applicable examples. To answer your question, one of those videos was explaining how a DI container is somewhat of an abstract factory for the entire application. There are differences though. Objects created from DI containers are (usually) constructed with other objects that are registered in the DI container. This is especially true in .NET since the ServiceContainer.GetService method does not take additional parameters. Alternatively, factories can be used to construct objects at anytime and can take in runtime parameters (like the user's name, etc.). Those are the biggest differences off the top of my head. Hopefully that helps, good question Fernando!
@longuinni
@longuinni 3 жыл бұрын
@@SingletonSean thanks Sean :)
@zenobiusztasak8604
@zenobiusztasak8604 3 жыл бұрын
Hi question from WPF. I have a custom control that contains ItemsControl. How to expose bindings to its child components ? For single property its easy, just create dependency property and voilà, but how to tell that I want to point into collections property. Thanks
@2005Azm
@2005Azm 3 жыл бұрын
I'm wondering can a Winform or WPF form utilize a web API to make a CRUD operation on a hosted database? If so can you actually make a tutorial or an example whenever you can?
@SingletonSean
@SingletonSean 3 жыл бұрын
Hey Azim, this is a pretty common use case I think, so that would make a great video! Thanks for the suggestion. I definitely want to bring more web content to the channel too, and integrating that with WPF would excite many viewers.
@2005Azm
@2005Azm 3 жыл бұрын
​@@SingletonSean That would be great I promise... Combine UI design power ( from WinForms or WPF)+ web API for DB interaction and web...
Factory Pattern - DESIGN PATTERNS (C#/.NET)
9:46
SingletonSean
Рет қаралды 15 М.
Decorator Pattern - DESIGN PATTERNS (C#/.NET)
14:51
SingletonSean
Рет қаралды 6 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 62 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 4,8 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 11 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
Factory Method Pattern - Design Patterns (ep 4)
27:21
Christopher Okhravi
Рет қаралды 536 М.
Bridge Pattern - DESIGN PATTERNS (C#/.NET)
11:01
SingletonSean
Рет қаралды 4,9 М.
Abstract Factory Pattern Made Simple in C#
25:04
campbelltech
Рет қаралды 2,2 М.
When to use Factory and Abstract Factory Programming Patterns
12:13
Facade Pattern - DESIGN PATTERNS (C#/.NET)
8:33
SingletonSean
Рет қаралды 4,3 М.
Factory Pattern in C#: Creating Objects with Ease
12:54
campbelltech
Рет қаралды 11 М.
Builder Pattern - DESIGN PATTERNS (C#/.NET)
7:52
SingletonSean
Рет қаралды 7 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 35 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 117 М.