Тёмный

Bridge Pattern - DESIGN PATTERNS (C#/.NET) 

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

Learn about the bridge pattern, which is a structural design pattern that decouples code. The main concept behind this pattern is to prefer composition rather than inheritance.
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:36 - Demo Introduction
2:41 - Why I Need a Bridge
3:06 - Creating the Bridge (IBookContentProvider)
4:26 - Using the Bridge
6:07 - Requirement Change
6:56 - Bridging the Publish Functionality
9:34 - Benefits Review
10:35 - Conclusion
SOURCE CODE: github.com/SingletonSean/desi...
OTHER LINKS:
Become a Member: / @singletonsean
Donations: www.paypal.com/biz/fund?id=UB...

Наука

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

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@I_c_a_r_u_S_S
@I_c_a_r_u_S_S Месяц назад
Very good explained. This is the best explantation I found in three languages :D
@robertastutlys8641
@robertastutlys8641 Год назад
I was confused about the bridge pattern but now it's 100% clear ! thanks
@DmitryIvanov-sj2tt
@DmitryIvanov-sj2tt Год назад
Thank you! Very useful!!
@Robin-uu4wx
@Robin-uu4wx 3 года назад
I like these kind of videos! Very resourcefull
@jorgellanque7704
@jorgellanque7704 Год назад
I love your explanation
@alexeylobankov
@alexeylobankov 3 года назад
Nice. Clean explanation
@majormartintibor
@majormartintibor 3 года назад
Fantastic video!
@mireazma
@mireazma Год назад
In the first scenario I would do: 1. Make the different book types into regular classes instead of abstract. This because there's no added technical functionality specific to Autobiography for instance. Each of the book types serves as a final "template". 2. GetBookContent() is semantically identical in all book types and should be up one level like Publish() in IBook. So as mentioned at 3:01 you wouldn't need 3 new classes whenever you want to publish a book, but 3 objects.
@foxred2380
@foxred2380 3 года назад
Very useful video, congrats
@clickdraw9762
@clickdraw9762 2 года назад
Thank you!
@SingletonSean
@SingletonSean 2 года назад
My pleasure :)
@AKASHKUMAR-we5hg
@AKASHKUMAR-we5hg 2 года назад
how it is different from strategy pattern?
@windowsbuilderthegreat3121
@windowsbuilderthegreat3121 2 года назад
It’s funny that you had the phone call during the video
@alexandero.9413
@alexandero.9413 2 года назад
Man, I really love your videos. I will set up a Paypal Acc just to be able to say thanks and donate
@SingletonSean
@SingletonSean 2 года назад
Thanks Alex, I'm glad these videos are helpful!
@mrsajjad30
@mrsajjad30 3 года назад
Well I did not understand the whole point of creating extra interfaces. May be I did not understand the example you are trying to explain. Will watch this video a few more times before it makes sense to me.
@dietrevich
@dietrevich 2 года назад
I feel this video was quite a bit rushed for the content, and as such the example wasn't really as effective in explaining the pattern. I understand you know the content very well but as an explanation video you need to meet your audience needs too.
Далее
It seems Sonya's choice was obvious! 😅 #cat #cats
00:20
СОБАКИ ГОЛОДАЮТ ИЗ-ЗА ЛЕРЫ 🥲
01:00
Crossing the Most Dangerous Crosswalk
00:24
Просмотров 9 млн
Components For Styles (w/ .NET MAUI)
15:26
Просмотров 683
Decorator Pattern - DESIGN PATTERNS (C#/.NET)
14:51
Просмотров 6 тыс.
Factory Method Pattern - Design Patterns (ep 4)
27:21
Просмотров 539 тыс.
Bridge Pattern - Design Patterns (ep 11)
52:04
Просмотров 144 тыс.
Stores - WPF MVVM TUTORIAL #7
14:25
Просмотров 21 тыс.
Что не так с камерой 200мп?
0:56
Просмотров 107 тыс.