The Mediator Pattern Explained and Implemented in Java | Behavioral Design Patterns | Geekific

preview_player
Показать описание

Today, we add another Behavioral design pattern to our Design Patterns in Java series: The Mediator Design Pattern.

Timestamps:
00:00 Introduction
00:07 Practical Use-Case and Example
01:10 Applying and Implementing the Mediator Pattern
03:27 The Mediator Pattern Class Diagram
04:31 Recap
05:13 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #DesignPatterns #MediatorPattern #BehavioralPatterns
Рекомендации по теме
Комментарии
Автор

Your videos are so good. I wish you were my design patterns prof. Your 6 to 10 minute videos are more valuable than my professor's hour of lecture 🙂

steveo
Автор

You should have shown the UML class diagram of your example

higherstr
Автор

Great video but I'm finding quite complicated to understand something on the example used in 3:18, the LoginButton constructor method, should also set the mediator? meaning that the Dialog class should instantiate a the LoginButton using itself as parameter?

Soulaker
Автор

This login example is hard to understand. I watched it two times, still didn't get it.
Why a login button should be generic?
A button for say Register can be different from a button for login
and both classes can extend a button interface and do independent job.

You can implement airplane example.

b
Автор

The code in this one doesn't feel quite right. The whole point of mediator is to encapsulate communication between colleagues . The example used here though not technically incorrect, didn't capture that clearly for learners, since only one colleague(LoginButton) is calling the mediator. I had to watch another video to get it.

PecPur
Автор

Your video's are just amazing !!! but for this one I find it so difficult to understand. :(

alilat.tech.dz.advisor
Автор

Since all design patterns involves interfaces. I find personally difficult to grasp it. May be I should read again and again.

vengateshm
Автор

Very difficult to understand please use some highlighting arrows when you’re explaining each part of code

adarshpurohit