节点文献
运用设计模式实现数据持久层框架
Realizing data persistence framework with design patterns
【摘要】 针对传统数据库访问中出现的业务逻辑和数据访问逻辑混杂、程序复用程度低以及难以维护的弊端,阐述了怎样利用几种常用的设计模式来设计一个数据持久层框架的解决方案,并给出了部分实现代码。该框架有效地提高了代码的可重用性和可扩展性,有一定的实用价值。
【Abstract】 Aiming at the shortage in traditional database access,such as intermixing of business logic and data access logic\difficulty in reusing and maintaining the programs,the realizing scheme of how to use some common design patterns to design a data persistence fra-mework was discussed to solve the problem,and part of the implementation codes was given.This framework effectively improves the code reusability and extensibility and has definite practical value.
【关键词】 关系数据库;
面向对象;
设计模式;
持久层;
框架;
【Key words】 relational database; object-oriented; design pattern; persistence layer; framework;
【Key words】 relational database; object-oriented; design pattern; persistence layer; framework;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2005年12期
- 【分类号】TP311.52
- 【被引频次】28
- 【下载频次】145