混合方式数据验证方案的研究  被引量:1

Mixed-mode data validation program research

在线阅读下载全文

作  者:刘成[1] 张凯[1] 陈建勋[1] 

机构地区:[1]武汉科技大学计算机科学与技术学院,湖北武汉430065

出  处:《计算机工程与设计》2013年第1期366-371,共6页Computer Engineering and Design

基  金:国家自然科学基金项目(61100055);湖北省自然科学基金项目(500104);冶金工业过程系统科学湖北省重点实验室开放基金项目(Y201120)

摘  要:针对传统数据验证方案在验证场所的单一性或验证场所分工不明确而导致的用户体验差、系统效率低,以及验证代码与系统其它模块耦合度较大的问题,提出了一种以验证复杂度为依据来进行验证场所在数据验证方面的明确分工策略。设计了一个在客户端采用事件监听减少客户端UI和验证代码的耦合度,在服务器端运用Aop和Valang分离数据验证模块和业务逻辑模块的方案。该方案能以少代码、低耦合的方式实现数据验证功能,并在实际项目中有较好的实用性。Traditional data verification plan have the problem of user experience deficiency, system efficiency and high coupling degree of validation code with other system module, brought by simplicity and work division indeterminacy. This paper poses a definite division strategy based on complexity verification to validate places, designing a plan using event listener on the client side to reduce coupling degree of UI and verification code and utilizing Aop and Valang to separate data verification and business logic module on the server. This plan is very practical in projects as it can realize data verification function with short code and low coupling.

关 键 词:数据验证 事件监听 面向切面编程 耦合度 验证语言 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象