作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (10): 57-59. doi: 10.3969/j.issn.1000-3428.2009.10.018

• 软件技术与数据库 • 上一篇    下一篇

基于Schema的Web框架设计

潘仙张,米根锁   

  1. (兰州交通大学电子与信息工程学院,兰州 730070)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-05-20 发布日期:2009-05-20

Web Framework Design Based on Schema

PAN Xian-zhang, MI Gen-suo   

  1. (School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-05-20 Published:2009-05-20

摘要: 现有Web框架没有充分考虑面向pojo对象的编程和XML到关系数据库的映射,导致系统中pojo对象与数据库关系表和其他对象之间的紧耦合。针对该问题提出一种基于Schema的开发框架,该框架考虑数据库关系表与DTD的依赖,集中且合理地布置系统中的pojo代码,方便service对象调用DAO对象,是一种易于扩展和维护的Web框架。

关键词: 软件框架, 模式, Schema模型

Abstract: Existing Web framework does not take fully consideration of pojo object-oriented programming and the mapping of XML to relational databases, that resulting in tight coupling between the database table and other object with pojo. Aiming at this problem, this paper presents a development framework based on Schema, which considers to the database table reliance on DTD, layouts of the system code pojo intensively and rational, and convenient for service object to call DAO object. This framework is easy to expand and maintain.

Key words: software framework, pattern, Schema model

中图分类号: