作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (19): 34-36,40. doi: 10.3969/j.issn.1000-3428.2012.19.008

• 软件技术与数据库 • 上一篇    下一篇

基于插件树的框架研究与实现

笪 伟,杨鹤标   

  1. (江苏大学计算机科学与通信工程学院,江苏 镇江 212013)
  • 收稿日期:2012-01-06 出版日期:2012-10-05 发布日期:2012-09-29
  • 作者简介:笪 伟(1988-),男,硕士研究生,主研方向:插件技术,软件体系结构;杨鹤标,教授
  • 基金资助:
    国家自然科学基金资助项目(61005017)

Research and Implementation of Addintree-based Framework

DA Wei, YANG He-biao   

  1. (College of Computer Science and Telecommunication Engineering, Jiangsu University, Zhenjiang 212013, China)
  • Received:2012-01-06 Online:2012-10-05 Published:2012-09-29

摘要: 针对现今主流插件框架的可扩展性和灵活性较差、框架源码开放度较低等问题,提出一种基于插件树的框架设计方案。通过建立插件树,将该框架划分成插件节点、路径及根节点三部分。使用XML语言描述addin文件,并存储插件基本属性、所需程序集以及挂接到插件树的路径值。插件节点根据该路径值挂接到插件树中,实现整个插件框架。实验结果表明,该框架具有结构层次清晰、扩展简易灵活、源码透明的特点。

关键词: 插件框架, 扩展插, 根节点, 插件树, 路径, 即插即用技术

Abstract: To solve the problems of addins’ higher dependencies, poor scalability, weak flexibility and lack of open source code about today’s mainstream addin framework, this paper proposes an addintree-based framework. Through the creation of the addintree, the framework is divided into three parts: addin node, path and root node. In order to complete the entire process of addin framework, it describes the addin file by using XML language and saves basic properties of the addins, requires assembly and path’s value. Experimental results show that the framework has clearer hierarchy, more simple and flexible expansion, and more transparent source code.

Key words: addin framework, extended addin, root node, addintree, path, plug and play technology

中图分类号: