Channel 9

Channel 9 is a community. We bring forward the people behind our products and connect them with those who use them. We think there is a great future in software and we're excited about it. We want the community to participate in the ongoing conversation. This is the heart of Channel 9. We talk about our work but listen to the customer.

https://channel9.msdn.com/

subscribe
share






Design Patterns: Observer and Publish-Subscribe | Visual Studio Toolbox


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.

Episodes in this series:

  • Command/Memento patterns
  • Strategy pattern
  • Template Method pattern
  • Observer/Publish-Subscribe patterns (this episode)
  • Singleton pattern (to be published 8/8)
  • Factory patterns (to be published 8/10)
  • Adapter/Facade patterns (to be published 8/15)
  • Decorator pattern (to be published 8/17)

Resources

  • Sample code
  • Design Patterns: Elements of Reusable Object-Oriented Software book
  • Head First Design Patterns book


fyyd: Podcast Search Engine
share








 July 25, 2017  18m