In some applications you have multiple screens available that display presentations of a common area of data. If a change is made to the data through one of these screens, you want all the other screens to update correctly. However you don't want each screen to know about the others, because that would increase the complexity of the screens and make it harder to add new ones.
See also this post in Martin Fowler's website to get more details. Observer pattern is described here.
No comments:
Post a Comment