在应用程序结构中,通常采用Observer(观察者)设计模式来减少互相通信的组件之间的耦合。
In application architecture, a common technique for reducing coupling between components that must communicate with each other is to use a design pattern called the Observer.
文中论述适配器模式、工厂模式以及观察者模式在雷达终端软件系统中的应用,介绍如何通过设计模式提高软件的复用性。
Based on application description of the adapter, factory and observer modes in radar terminal software, this paper introduces how to improve the software reusability via design mode.
正如我们所看到的模型视图关系是间接的观察者设计模式为基础。
As we have seen, the Model-View relationship is an indirect one based on the Observer design pattern.
应用推荐