Загрузка страницы

Design Patterns: Observer and Publish-Subscribe

This is the fourth 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 Observer pattern. In this pattern, an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods. Phil also compares the Observer pattern to the Publish-Subscribe pattern.

Resources:

- Sample code: https://github.com/skimedic/presentations
- Design Patterns: Elements of Reusable Object-Oriented Software book: https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=asap_bc?ie=UTF8
- Head First Design Patterns book: https://www.amazon.com/Head-First-Design-Patterns-Brain-Friendly/dp/0596007124/ref=asap_bc?ie=UTF8

Видео Design Patterns: Observer and Publish-Subscribe канала Microsoft Visual Studio
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 июля 2017 г. 0:29:07
00:18:18
Яндекс.Метрика