Mediator - DESIGN PATTERNS (C#/.NET)

Опубликовано: 09 Октябрь 2024
на канале: SingletonSean
3,326
85

Learn about the mediator design pattern, which is behavioral design pattern that decouples communication between objects and is a mechanism for pub/sub messaging. This is helpful for centralizing communication and easily extending communication to other objects.

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:45 - Demo Introduction
2:18 - Extending the Application (without a Mediator)
4:42 - Drawbacks of Not Using a Mediator
5:56 - Adding a Mediator
8:00 - Using the Mediator
11:14 - Extending the Application (with the Mediator)
12:56 - Multiple Mediator Instances
13:44 - Mediators with Application State
15:46 - Summary

📦 Source code: https://github.com/SingletonSean/desi...
🔁 Full playlist:    • Design Patterns  

🔗 Stores in WPF (mediators w/ state):    • Stores - WPF MVVM TUTORIAL #7  

💎 Become a Member:    / @singletonsean  
🏠 Discord:   / discord  
🐤 Twitter:   / singletonsean_  
🏆 Donate: https://www.paypal.com/donate?hosted_...
✉️ Email: [email protected]