Тёмный

Design Patterns: Adapter and Façade 

Microsoft Visual Studio
Подписаться 326 тыс.
Просмотров 18 тыс.
50% 1

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...

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

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@fwd79
@fwd79 5 лет назад
Full list for this series: 0. SOLID Design Patterns (start from here): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-agkWYPUcLpg.html 1. Design Patterns: Command/Memento: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zRbHlDeon3E.html 2. Design Patterns: Strategy: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QZIvlny1Onk.html 3. Design Patterns: Template Method: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MfAvs0n9uMs.html 4. Design Patterns: Observer and Publish-Subscribe: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-72bdaDl4KLM.html 5. Design Patterns: Singleton: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sbML3xFHRbI.html 6. Design Patterns: Factories: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JEk7B_GUErc.html 7. Design Patterns: Adapter and Façade: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XYa0rmRMZ1Q.html 8. Design Patterns: Decorator: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6PPMR0GWrZQ.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 7 лет назад
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
Просмотров 55 тыс.
Adapter Pattern - Design Patterns (ep 8)
26:36
Просмотров 244 тыс.
Design Patterns: Singleton
16:11
Просмотров 29 тыс.
Design Patterns: Command/Memento
31:08
Просмотров 34 тыс.
Dependency Injection, The Best Pattern
13:16
Просмотров 848 тыс.
Command Pattern - Design Patterns (ep 7)
39:12
Просмотров 270 тыс.
Factory Pattern in C# with Dependency Injection
1:07:33
Просмотров 108 тыс.