this week: discuss how to handle events in user-interface — MVC, functional reactive programming.
Lecture 4.1 - Imperative Event Handling: The Observer Pattern
Traditional way of handling events: observer Pattern (MVC). Used when views need to react to change in a model.
MVC: model-view-controller for user interface
- Views can announce themselves ...