Video from Fireship on YouTube
Describe the Observer pattern (subject, observers, notification, push and pull models) and identify it in code or in a class diagram.
The part on this line: 7:47–8:58
Why this video
This video quickly walks through the core mechanism of the Observer pattern and illustrates how it looks in code.
Part of this line
Covers part of this objective. It leaves out: It does not cover UML class diagrams or the distinction between the push and pull notification models.
Heads up
The implementation is shown concisely in TypeScript/JavaScript without explicit UML class structures or separate pull query methods.
Make a free account to try this line.
Videos play from YouTube. Watching is free for everyone. YouTube Terms of Service · Google Privacy Policy