计算机与现代化

• 软件工程 • 上一篇    下一篇

 改进的PHP面向对象持久化中间件关键技术

  

  1. 1.四川旅游学院信息技术系,四川成都610010;2.成都中医药大学医学信息工程学院,四川成都610083
  • 收稿日期:2014-01-10 出版日期:2014-06-13 发布日期:2014-06-25
  • 作者简介:张华(1977-),男,四川富顺人,四川旅游学院信息技术系副教授,硕士,研究方向:计算机应用技术,信息管理与信息系统; 罗维,成都中医药大学医学信息工程学院副教授,硕士,研究方向:开发框架,设计模式。

Key Technology of Improved PHP OOP Persistence Middleware

  1. 1. Department of Information Technology, Sichuan Tourism University, Chengdu 610010, China;

     2. College of Medicine Information Engineering, Chengdu University of TCM, Chengdu 610083, China
  • Received:2014-01-10 Online:2014-06-13 Published:2014-06-25

摘要: 基于对现有MVC持久化中间件存在问题的分析,提出一种四层模型面向对象持久化中间件实现思路,较为完整地实现对象持久化设计模式;同时改进关系、对象转换算法;实现复杂对象关联支持。与参照中间件对比测试,实验表明各项关键指标均有所提高,为基于MVC模式的大型信息系统开发提供了一种可靠的数据持久化支撑技术。

关键词:  , 面向对象持久化中间件, MVC框架, ORM, DAO

Abstract: Based on the analysis of the problems of existing MVC persistence middleware, the realization approach of a four-tier object oriented persistence middleware is proposed, and a design pattern of object persistence is relatively completely realized. At the same time, the object-relationship transform algorithm is optimized and the complex associated objects request is realized. The results of comparative experiments show that the key indexes of the middleware are improved, providing a reliable data persistence technique for MVC-based MIS development.

Key words:  OOP persistence middleware, MVC framework, ORM, DAO