GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python Wiki
  • PSF Wiki
  • Jython Wiki
  • Python Wiki
  • Language Reference

This view

  • Original page
  • New address

GeezerVison is showing wiki.python.org — Observer Pattern

View as Markdown

Observer Pattern¶

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

Observer Pattern¶

Intent: Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

Described in ObserverPattern.

Common incarnations of the Observer Pattern use events to notify observers about changes in the subject. A python solution that encapsulates event triggering and subscription and mimics C#-style events can be found here.

Discussion¶

Previous
Language Parsing
Next
Structure Annotation
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.