Today’s Lecture

10/5/98


Click here to start


Table of Contents

Today’s Lecture

What is a Pattern?

What is a Design Pattern?

An Example: Singleton

Singleton...

Singleton...

Singleton...

An Example

Example...

A Common Situation

Observer Pattern

Observer Pattern...

Observer Pattern: Structure

Observer Pattern: Collaborations

ObserverPattern: Collaborations...

A Sample Implementation of the Observer Pattern

A Sample Use of the Observer Pattern

Implementation Issues

Implementation Issues...

Implementation Issues...

Other Uses of ObserverPattern

Some Patterns...

A Summary of How to Describe a Design Pattern

More Information on Patterns

Design Patterns

Author: Gail Murphy

Email: murphy@cs.ubc.ca

Home Page: http://www.cs.ubc.ca/spider/murphy