摘要
在企业信息化软件系统的开发部署过程中,经常需要在不修改源代码的情况下根据不同角色使用不同的业务功能,为角色配置其业务功能,实现"角色—功能"对应。基于.NET反射技术的动态菜单的设计思想,可以在不修改源代码的情况下适应这种企业需要,即程序不需要考虑代码版本问题而能动态加载执行构件,其中菜单元素的数据结构、存储方式.、NET构件的设计和加载都是这种设计方法的研究内容。
During the development and deployment process of enterprise application information systems, the operating menu items are often modified according to different roles while the source codes of the software are needed not to be modified. This paper presents a scheme for dynamic menus based on. NET reflection technology, which adapts to this requirement. The programs can dynamically load and execute the component collection for menu items while we needn' t consider the versions of the source codes. The data structure of menu items, storage method of menu items, and design of the components are research content of this scheme.
出处
《常州工学院学报》
2010年第2期56-59,共4页
Journal of Changzhou Institute of Technology
关键词
.NET平台
反射技术
构件
动态菜单
. NET platform
reflection technology
component
dynamic menu