摘要
针对现今主流插件框架的可扩展性和灵活性较差、框架源码开放度较低等问题,提出一种基于插件树的框架设计方案。通过建立插件树,将该框架划分成插件节点、路径及根节点三部分。使用XML语言描述addin文件,并存储插件基本属性、所需程序集以及挂接到插件树的路径值。插件节点根据该路径值挂接到插件树中,实现整个插件框架。实验结果表明,该框架具有结构层次清晰、扩展简易灵活、源码透明的特点。
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.
出处
《计算机工程》
CAS
CSCD
2012年第19期34-36,40,共4页
Computer Engineering
基金
国家自然科学基金资助项目(61005017)
关键词
插件框架
扩展插件
根节点
插件树
路径
即插即用技术
addin framework
extended addin
root node
addintree
path
plug and play technology