No video

Design Patterns: Adapter and Façade

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

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

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/ski...
- Design Patterns: Elements of Reusable Object-Oriented Software book: www.amazon.com...
- Head First Design Patterns book: www.amazon.com...

Пікірлер: 11
@fwd79
@fwd79 5 жыл бұрын
Full list for this series: 0. SOLID Design Patterns (start from here): kzfaq.info/get/bejne/l82biryBusmwoJs.html 1. Design Patterns: Command/Memento: kzfaq.info/get/bejne/sLiSe891ytXSY3k.html 2. Design Patterns: Strategy: kzfaq.info/get/bejne/h8B5qc-f3peznp8.html 3. Design Patterns: Template Method: kzfaq.info/get/bejne/g8xxqdZh05_Zfac.html 4. Design Patterns: Observer and Publish-Subscribe: kzfaq.info/get/bejne/bZiSl8R10ZqvfIE.html 5. Design Patterns: Singleton: kzfaq.info/get/bejne/qch9f5apq662kn0.html 6. Design Patterns: Factories: kzfaq.info/get/bejne/gKubaqWQrLupopc.html 7. Design Patterns: Adapter and Façade: kzfaq.info/get/bejne/jr-RY9Wet7O-YYU.html 8. Design Patterns: Decorator: kzfaq.info/get/bejne/bLaAgLVhrL3WioU.html
@luafalcao2984
@luafalcao2984 4 жыл бұрын
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.
@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.
@jamesallen74
@jamesallen74 7 жыл бұрын
As an expert on Rocky and Bullwinkle he really messed up that whole domain. I'm really upset LOL.
@fadidib8516
@fadidib8516 2 жыл бұрын
great stuff
@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 7 жыл бұрын
Proof Right Hand Topology. 片仮名 梵語、。 Katakana Sanskrit. Osakana Russia.
@kenichimori8533
@kenichimori8533 7 жыл бұрын
Holy Crack It Visual Studio. Allah
Design Patterns: Factories
25:26
Microsoft Visual Studio
Рет қаралды 54 М.
Design Patterns: Decorator
17:21
Microsoft Visual Studio
Рет қаралды 25 М.
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 21 МЛН
Adapter Pattern - Design Patterns (ep 8)
26:36
Christopher Okhravi
Рет қаралды 241 М.
How To Reduce Coupling With Facade | Design Pattern Tutorial
28:29
Design Patterns: Singleton
16:11
Microsoft Visual Studio
Рет қаралды 29 М.
Façade Design Pattern (An Introduction for .NET Developers [.NET 5 and C#])
16:27
Design Patterns: Template Method
14:07
Microsoft Visual Studio
Рет қаралды 15 М.
Command Pattern - Design Patterns (ep 7)
39:12
Christopher Okhravi
Рет қаралды 268 М.
Factory Pattern in C# with Dependency Injection
1:07:33
IAmTimCorey
Рет қаралды 105 М.
Design Patterns: Strategy
13:59
Microsoft Visual Studio
Рет қаралды 38 М.