Observer pattern can be visualized as newspaper subscription service with its publishers and subscribers.

 

the subject is the publisher, observers are the subscribers.

 

The observer pattern - defines a one-to-many dependency between objects so that when one object changes state, all of its dependents are notified and updated automatically. 

 

Design principles : Strive for loosely coupled designs between objects that interact

'ETC' 카테고리의 다른 글

Git  (0) 2020.03.04
Design ToolBox  (0) 2020.02.29
Chapter 1  (0) 2020.02.27
HLS vs DASH  (0) 2020.02.24
Sites to view later  (0) 2020.02.24

+ Recent posts