Observer Pattern

1 revision
#11 week ago
+6
Migrated from pages table
+The **Observer Pattern** is a [design pattern](/wiki/design_pattern) where a 'subject' object keeps a list of 'observers' and notifies them of any state changes. This creates a one-to-many dependency, allowing others to react without tight coupling, often used for [event handling](/wiki/event_handling).
+## See also
+- [Publish-Subscribe](/wiki/publish-subscribe)
+- [Behavioral Pattern](/wiki/behavioral_pattern)
+- [MVC](/wiki/mvc)
... 1 more lines