层之间的相互作用 [英] Interaction between layers

查看:86
本文介绍了层之间的相互作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自上而下互动和松散互动之间的区别是什么?

What's the difference between Top-down interaction and Loose interaction?

在这两个中,顶层都可以达到他们下面的任何一层。只是在严格的互动中,它仅限于访问下面的一个;

In both of them top layers can reach any layer below them. Just in Strict interaction it's restricted to access just the below one;

自上而下和松散似乎是相同的。不是吗?

Top-down and Loose seems to be same. doesn't it?

推荐答案

自上而下的互动:

Top-Down interaction:

顶层可以与之互动较低的。但是较低的不应该与top相互作用,以避免循环依赖。

Top layer can interact with lower ones. But lower ones should not interact with top, to avoid circular dependency.

交互松散:

顶层可以绕过直接的较低层并进行交互 底层付款人。这种方法可能会增加较低层的依赖性

Top layer can bypass the immediate lower layer and interact bottom payers. This approach might increase dependency of lower layers

我们必须根据应用程序需求和业务需求来选择这些。像extendability..etc。

We have to choose these based on the application requirement and business need. like extendability..etc.

请查找图层的MSD指南:

Please look for MSD guide for layers:

http://msdn.microsoft.com/en-us/library/ee658109.aspx


这篇关于层之间的相互作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆