Design Patterns: Adapter and Façade

  Рет қаралды 17,274

Microsoft Visual Studio

Microsoft Visual Studio

6 жыл бұрын

This is the seventh of an eight part series where Robert is joined by Phil Japikse to discuss design patterns. A design pattern is a best practice you can use in your code to solve a common problem. In this episode, Phil demonstrates the Adapter and Façade patterns. The Adapter pattern allows the interface of an existing class to be used as another interface. The Façade pattern enables an object to provide a simplified interface to a larger body of code, such as a class library.
Resources
- Sample code: github.com/skimedic/presentat...
- Design Patterns: Elements of Reusable Object-Oriented Software book: www.amazon.com/Design-Pattern...
- Head First Design Patterns book: www.amazon.com/Head-First-Des...

Пікірлер: 12
@luafalcao2984
@luafalcao2984 3 жыл бұрын
Awesome, awesome stuff! The level of explanation was great and the real examples talking about e-commerce helped me figure out about the scenarios that I can apply these patterns.
@DanteS-119
@DanteS-119 Жыл бұрын
This is great!!! I’d prefer sticking with weather because I don’t know Rocky and Bullwinkle but having many examples hammered in the concept.
@fwd79
@fwd79 5 жыл бұрын
Full list for this series: 0. SOLID Design Patterns (start from here): kzbin.info/www/bejne/l5jOiIyGish_psk 1. Design Patterns: Command/Memento: kzbin.info/www/bejne/sIPFeZ96mtShaac 2. Design Patterns: Strategy: kzbin.info/www/bejne/h4usp5-krpaCpM0 3. Design Patterns: Template Method: kzbin.info/www/bejne/g5ekp6Zmo56og9U 4. Design Patterns: Observer and Publish-Subscribe: kzbin.info/www/bejne/bWPFlZR6oZl-gq8 5. Design Patterns: Singleton: kzbin.info/www/bejne/qZOwfWaue62FmKs 6. Design Patterns: Factories: kzbin.info/www/bejne/gHbOaHWVfLp4qMU 7. Design Patterns: Adapter and Façade: kzbin.info/www/bejne/jorEYaWjh7KNZ7M 8. Design Patterns: Decorator: kzbin.info/www/bejne/bIGzfoVmfLylkLM
@fadidib8516
@fadidib8516 Жыл бұрын
great stuff
@jamesallen74
@jamesallen74 6 жыл бұрын
As an expert on Rocky and Bullwinkle he really messed up that whole domain. I'm really upset LOL.
@powerswish
@powerswish 5 жыл бұрын
I say use a real domain and handwave any criticism as "we're just keeping this simple for the example...blah blah." At least you used something tangible like Rocky and Bullwinkle. A major pet peeve of mine is when people use "foo" as an example. That does nothing to advance my understanding, because I still wouldn't know what foo.bar() is trying to accomplish. Contrast that to _squirrel.fly() or whatever. That helps with the mental connection that it matches up with a move() method or whatever in an adapter.
@willl0014
@willl0014 3 жыл бұрын
I think no sticking to the weather example just make a disservice to the example. This abstract example just put an unnecesary layer for the viewer to follow
@MoatasemBakri
@MoatasemBakri 5 жыл бұрын
I just really were looking for a video that explains these pattern with real example at least from this channel. I'm really disappointed
@sailingjudo
@sailingjudo 6 жыл бұрын
You guys should *really* pick an example and stick with it. This video is a mess switching between Bullwinkle and a weather app.
@kenichimori8533
@kenichimori8533 6 жыл бұрын
Proof Right Hand Topology. 片仮名 梵語、。 Katakana Sanskrit. Osakana Russia.
@kenichimori8533
@kenichimori8533 6 жыл бұрын
Holy Crack It Visual Studio. Allah
Design Patterns: Factories
25:26
Microsoft Visual Studio
Рет қаралды 54 М.
Design Patterns: Decorator
17:21
Microsoft Visual Studio
Рет қаралды 25 М.
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 63 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 134 МЛН
Facade Design Pattern (C#, Microservices)
11:55
Raw Coding
Рет қаралды 9 М.
Command Pattern - Design Patterns (ep 7)
39:12
Christopher Okhravi
Рет қаралды 263 М.
Dependency Injection
45:17
Microsoft Visual Studio
Рет қаралды 146 М.
Let's Take The Adapter Design Pattern To The Next Level
22:45
ArjanCodes
Рет қаралды 48 М.
Adapter Pattern - Design Patterns (ep 8)
26:36
Christopher Okhravi
Рет қаралды 238 М.
Fluent Builder in C#: Building Objects with Elegance
16:30
campbelltech
Рет қаралды 2,2 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 176 М.
Теперь это его телефон
0:21
Хорошие Новости
Рет қаралды 2 МЛН
Выложил СВОЙ АЙФОН НА АВИТО #shorts
0:42
Дмитрий Левандовский
Рет қаралды 1,6 МЛН