首页 | 本学科首页   官方微博 | 高级检索  
     

利用反射技术实现动态菜单的设计与研究
引用本文:梁凤兰,于启红.利用反射技术实现动态菜单的设计与研究[J].常州工学院学报,2010,23(2):56-59.
作者姓名:梁凤兰  于启红
作者单位:宿迁学院计算机系,江苏,宿迁,223800;宿迁学院计算机系,江苏,宿迁,223800
摘    要:在企业信息化软件系统的开发部署过程中,经常需要在不修改源代码的情况下根据不同角色使用不同的业务功能,为角色配置其业务功能,实现“角色—功能”对应。基于.NET反射技术的动态菜单的设计思想,可以在不修改源代码的情况下适应这种企业需要,即程序不需要考虑代码版本问题而能动态加载执行构件,其中菜单元素的数据结构、存储方式.、NET构件的设计和加载都是这种设计方法的研究内容。

关 键 词:.NET平台  反射技术  构件  动态菜单

Using Reflection Technology to Implement the Design of Dynamic Menu
LIANG Feng-lan,YU Qi-hong.Using Reflection Technology to Implement the Design of Dynamic Menu[J].Journal of Changzhou Institute of Technology,2010,23(2):56-59.
Authors:LIANG Feng-lan  YU Qi-hong
Affiliation:( Department of Computer, Suqian College, Suqian 223800)
Abstract: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.
Keywords:, NET platform,reflection technology,component,dynamic menu
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号