Font Size: a A A

.. Net Rapid Application Development Framework For Data Persistence Layer, An Implementation Model

Posted on:2009-04-06Degree:MasterType:Thesis
Country:ChinaCandidate:T YinFull Text:PDF
GTID:2208360245961674Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In information age, information is the most important factor for development in every area. It is possible to share information among different organizations with the improvement of network. In fact, what shared in information is basical data. Data is the very direct representation of information resources. So, in order to realize data-sharing, data should not only be visited (that is to be connected with UI and to be managed following a series of principles) but also be persisted. As a result, with regard to the systems connected with data, the design of Data Persistence becomes quite important.In this thesis, because of doing the project "Information management platform for Chengdu second building reinforcing steel bar and Institute of Electronic Science and Technology" which the author participated subject, firstly the DAO mode which used to access database in object oriented programming is introduced and secondly the Data Persistence framework NHibernate which can support the dotNet platform is introduced, thirdly the Data Persistence framework IBatis.net which also support the dotNet platform is introduced. And then base on the theory above, this thesis advances improved DAO mode with Generic, HQLMapping technology and using IBatis.net return dataset. At last, the three kind of new technology is combined as a new model for Data Persistence, and then use this new mode to the real application "Information management platform for Chengdu second building reinforcing steel bar and Institute of Electronic Science and Technology".About the DAO mode with Generic, firstly introduces the theory and implement of the existed DAO, and then combining with the .NET Generic which is type security this paper develops an improved DAO mode with .NET Generic, thirdly introduces the theory of the DAO mode with .NET Generic and the implement of it, beside gives an example for the DAO mode with .NET Generic. In the fourth chapter, firstly introduces the Data Persistence framework NHibernate, and then analyzes and discusses the problem about the HQL management of NHibernate, secondly base on the XML technology, the author gives a new method HQLMapping which can dynamically construct the HQL statements and centralized manage them, thirdly introduces the theory of the HQLMapping and how to implement the HQLMapping in the real application. In the third chapter, aiming at the complex selecting situation, gives the IBatis.net framework and return dataset. Firstly analyzes the complex selecting, secondly, by doing experiment for comparing the capacity of IBatis.net and NHibernate in complex selecting proves that IBatis.net is better than NHibernate, thirdly bases on IBatis.net, gives using IBatis.net return dataset which not only improves the capacity of database accessing but also make it easy to combine with component that dotNet support itself.At last, in this thesis, basing on the three kind of new technologies above, use this new Data Persistence mode to the project "Information management platform for Chengdu second building reinforcing steel bar and Institute of Electronic Science and Technology". In the logical layer, this system select Spring.net as its framework, which effectively organized the middle ware object, get rid of the problem of the tight connection of component construction and employment and the need of using various property files. In the whole application projects, Spring.net framework Provides a uniform method configurations. In the data persistence layer, the system uses the new mode as mentioned above and shows the convenience of the new Data Persistence mode in application.
Keywords/Search Tags:Data Persistence, NHibernate, IBatis.net, DAO, Generic
PDF Full Text Request
Related items