摘要
为了克服在.NET平台下开发数据库应用程序时,直接使用ADO.NET操作数据库带来代码量大、业务逻辑和数据逻辑不清晰等问题,介绍了中间件的基本概念和开发思路,并结合开发W ebm ate项目,设计了一个实用的中间件EasyORM,实现了数据库操作从传统SQL模式到基于对象模式的转换和业务逻辑层与数据层分离,提高了系统开发对数据库的透明度;减少了用户二次开发的工作量,提升了开发效率和开发质量,取得了很好的应用效果.实例对欲学习中间件开发的人员有一定的参考价值.
To overcome the problems of large code volume, unclear traffic logic and data logic arising from the direct use of an ADO.NET operating database when a database application was developed on a .NET platform, the basic concept and development idea of middleware were introduced, and EasyORM, a practical middleware, had been developed in the Webmate project, realizing the conversion of the traditional SQL database operating mode to the object-based mode and the separation between the traffic logic and data layers, improving the transparency of system development to the database, reducing the workload of secondary development of the user, and increasing the development efficiency and quality for application. The example has great value of reference for those who want to learn middleware development.
出处
《宁夏工程技术》
CAS
2006年第2期168-171,共4页
Ningxia Engineering Technology
基金
银川市科技攻关计划基金资助项目(2005)