UML读书笔记——02组件依赖
一个系统肯定会包含多个类,无论我们怎么组织这些类,降低组件之间的耦合度,不同组件之间还是存在一些关系,如关联、继承或依赖关系。在组件层次如果认为两个组件之间的类存在关联、继承或依赖关系,那么我们认为两个组件之间就存在依赖关系,这种组件间的各种关系我们统称为依赖关系。 哈佛商业评论Lee Fleming和Olav Sorenson两位专家关于组件化(模块化)对产品开发创新的影响所提出的研究,其中特别强调组件间的依赖是成功的关键因素。 “In modular designs,changing one component has litte influence of others or on the system as a whole.” “Consider the ink-jet printer;First proposed by Loard Kelvin in 1867,it took more than a hundred years to become commercially viable,even after millions of dollars of investment by …” “The culprit:servere interdepenence of the components,including the chemistry of the ink,the physical layout and composition of the resistors,and son on.” “Our research indicates that intermediate levels of interdependence produce the most useful inventions.” 上面举例了索尼公司采取高度标准化及易于更换的组件迅速设计出市场极受欢迎的随身听。也举了喷墨打印机因为组件间的高度依赖,在研发100多年后才开始商业化。 调查得出的结论是:
Jack Harich说到:
UML component一书中写道,我们期望在组件持续演进及需求不断变化的环境之下,仍然能够对整个系统做出妥善的管理,我们应当重视系统的架构。 在一切事情都快速变化的今天,组件化设计的首要目标是:能够轻易地更新与置换,以长保系统的优势。 那么组件化软件开发想要解决软件开发上的哪些问题? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |