For faster navigation, this Iframe is preloading the Wikiwand page for 层 (面向对象设计).

层 (面向对象设计)

面向对象设计中的(layer)是一群和其他模块有类似耦合性类别[1]。层也可以说是一组可复用的软件组件,可以在类似的环境下复用。

各层的模块会用状的阶级架构来规划,各层模块之间的依赖关系会用连接来表示。各层之间的依赖关系可能是继承[2]复合英语Object composition或聚合(aggregation)关系,不过也有可能是其他的关系。

分层是许多书籍中都会提到的架构模式,例如《Pattern-Oriented Software Architecture英语Pattern-Oriented Software Architecture》书中就有提到[3]

相关条目

[编辑]

参考资料

[编辑]
  1. ^ Lakos, John. Large-scale C++ software design'需要免费注册. Addison-Wesley. 1997. 
  2. ^ Monperrus, Martin; Beugnard, Antoine; Champeau, Joël. A Definition of "Abstraction Level" for Metamodels. 2009 16th Annual IEEE International Conference and Workshop on the Engineering of Computer Based Systems. [2021-04-23]. doi:10.1109/ecbs.2009.41. (原始内容存档于2021-04-23). 
  3. ^ Pattern-Oriented Software Architecture - A System of Patterns 互联网档案馆存档,存档日期2008-06-16.
{{bottomLinkPreText}} {{bottomLinkText}}
层 (面向对象设计)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?