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

抽象工厂模式在多种数据库访问程序中的应用
引用本文:王德永,樊继. 抽象工厂模式在多种数据库访问程序中的应用[J]. 机电产品开发与创新, 2009, 22(6): 115-116. DOI: 10.3969/j.issn.1002-6673.2009.06.045
作者姓名:王德永  樊继
作者单位:平顶山工业职业技术学院计算机系,河南,平顶山,467001;平顶山工业职业技术学院计算机系,河南,平顶山,467001
摘    要:在软件开发过程中,应用系统适应不同类型数据库,是一种常见的需求,对此提出了利用抽象工厂模式解决方法,并给出了具体的实现过程。通过这种模式的使用,大大降低了代码修改量,使得开发出的程序较好地满足面向对象程序设计原则要求,提高软件开发的工作效率。

关 键 词:设计模式  抽象工厂模式  多种数据库访问  UML图  开放封闭原则

Application of Abstract Factory Pattern in Accessing Multiple Database
WANG De-Yong,FAN Ji. Application of Abstract Factory Pattern in Accessing Multiple Database[J]. Development & Innovation of Machinery & Electrical Products, 2009, 22(6): 115-116. DOI: 10.3969/j.issn.1002-6673.2009.06.045
Authors:WANG De-Yong  FAN Ji
Affiliation:(Pingdingshan Industrial College of Technology, Pingdingshan Henan 467001, China)
Abstract:factory pattern solutions and give a concrete realization of the process.Through the use of this model,greatly reducing the amount of code changes,making the development of procedures to better meet the principles of object-oriented programming requirements,improve the efficiency of software development.
Keywords:design pattern  abstrctfactory  multiple database access  UML  open closed principle
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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