摘要
数据存储是大多数应用软件开发的基本环节之一。结合LDAP协议中提出的基本模型,提出了一种新的数据持久层实现。通过这个数据持久层,数据将作为一个信息节点存储到目录中。对比传统的数据持久层,他对数据的组织更加清晰,更加符合我们的认识习惯。开发者通过配置XML文件,自动实现业务实体到数据存储的转换,将持久层中的信息树存储到数据库中。总之,新的构架有助于优化数据组织,快捷开发和易于维护,将会有助于基于数据库的应用开发。
Persistence is one of the fundamental concepts in application development. On the basis of LDAP information and naming models,a new persistence architecture is proposed, the data is stored as an entry within a tree apparently by it. Contrasting with the traditional ones, this new persistence architecture offers a hierarchical rather than a relational view of the data,which conduces to our understanding of how data is organized. All the information for automatic mapping between LDAP and relational model is described in XML files. Developers can change the behavior of persistence layer by adapting these xml files. Briefly, new persistence architecture helps to facilitate information organization, reduces development time and promotes maintainability,and, improves the development of application based on database.
出处
《现代电子技术》
2007年第18期140-142,148,共4页
Modern Electronics Technique
基金
国家科技攻关项目(908-03-01-05)