
JavaScript Design Patterns: The Observer Pattern
Camilo Reyes looks at the observer pattern — a handy pattern to use for keeping parts of a page in sync in response to events and the data they provide.
Camilo Reyes looks at the observer pattern — a handy pattern to use for keeping parts of a page in sync in response to events and the data they provide.
Inversion of control is not just dependency injection - the observer and template method patterns use it as well. Study all three to become an IoC expert!