Тёмный

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

SingletonSean
Подписаться 22 тыс.
Просмотров 6 тыс.
50% 1

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...

Наука

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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...
@shahjahan12003
@shahjahan12003 3 года назад
Best tutorial for Abstract factory so far.
@user-vi7xn1tj9f
@user-vi7xn1tj9f 2 месяца назад
Yeah. Not turning it into a rocket science...
@2005Azm
@2005Azm 3 года назад
Great tutorial... Thank you sir
@sumittandon6246
@sumittandon6246 Год назад
Really Good one 👏👏
@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
@RodrigodeFreitasPuls
@RodrigodeFreitasPuls 2 года назад
Thanks!
@maikborchardt5692
@maikborchardt5692 2 года назад
Thank you !
@SingletonSean
@SingletonSean 2 года назад
Thanks for supporting the channel Maik!
@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
@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 :)
@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
Просмотров 15 тыс.
Decorator Pattern - DESIGN PATTERNS (C#/.NET)
14:51
Просмотров 6 тыс.
Factory Method Pattern - Design Patterns (ep 4)
27:21
Просмотров 539 тыс.
Prototype Pattern - DESIGN PATTERNS (C#/.NET)
12:41
Просмотров 3,4 тыс.
Factory Method Pattern Visualized
23:54
Просмотров 8 тыс.
iPhone, Galaxy или Pixel? 😎
0:16
Просмотров 967 тыс.
iPhone 15 Pro в реальной жизни
24:07
Просмотров 425 тыс.