CCR适用的应用模型是:多个组件分离到可以只通过消息交互的块。
CCR is appropriate for an application model that separates components into pieces that can interact only through messages.
MVC框架可使组件分离并大量使用接口,这样,便可以将单个组件与框架的其余部分分开进行测试。
The MVC framework decouples the components and makes heavy use of interfaces, which makes it possible to test individual components in isolation from the rest of the framework.
我经常使用这种模式,并发现借助它可以更好地分离组件之间的关注点。
I use this pattern frequently and find that it helps me better separate the concerns between the components.
应用推荐