摘要: 基于应用程序功能来划分插件的传统方法不能快速适应可复用的插件设计要求。针对这一问题,提出一种基于领域分析的插件划分方法。该方法采用了多分层插件软件模式,重点突出软件体系结构中的领域层,并运用面向特征的领域建模技术针对插件软件应用系统实现领域特征的共性和个性的划分。通过应用案例证明,该方法可以有效地降低插件模块间的耦合性,提高复用粒度。
关键词:
软件体系结构,
插件,
领域建模,
复用
Abstract: The traditional method of dividing plug-in among application functions can not adapt to reusable plug-ins requirement quickly. To solve this problem, this paper introduces a method of dividing plug-in based on domain analysis. The method uses a multilayer architecture and presents the domain layer particularly. Meanwhile, the technology of feature-oriented domain modeling is used to capture the similarities and variations in the application system of plug-in software. The example shows that this method can reduce the coupling between plug-in modules effectively and get reusability for applying.
Key words:
software architecture,
plug-in,
domain modeling,
reusable
中图分类号:
王 俊;邵 堃;刘 磊;刘宗田. 一种可复用的插件粒度划分方法[J]. 计算机工程, 2009, 35(22): 79-81.
WANG Jun; SHAO Kun; LIU Lei; LIU Zong-tian. Reusable Method for Dividing Plug-in Granularity[J]. Computer Engineering, 2009, 35(22): 79-81.