Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

How Do I: Use the Observer Pattern

In this video Pat Tormey shows how to use the Observer Pattern. The Observer Pattern creates a subject that keeps accepts Observers which SubScribe and UnSubscribe to the Subject’s Notify event.

In this simple example you’ll see how to create a Form as a Subject and multiple forms as Observers that automatically stay informed to changes to the data on the Subject form.

Author: Pat Tormey
 

Comments

Fizmon said:

Simple and concise explanation. Excellent!

# May 29, 2009 8:40 AM

Alaa Sahmarani said:

Perfect !

Please keep up the good, and I wish if you post more videos about other patterns used in MS.

<b>Suggestion </b>: Can u add the UML Class diagram of the pattern ?

# June 30, 2009 6:36 AM

Rickadonai said:

Pat! Great video!

Please in the next video, talk about strategy pattern.

# July 19, 2009 6:49 PM

miroslav26 said:

<b>Suggestion </b>: Can u add the UML Class diagram of the pattern ?

en.wikipedia.org/.../File:Observer.svg

# May 28, 2010 9:35 AM