Personal knowledge of the Spring.net+nhibenate+asp.net Mvc+easyui framework
First contact with the Spring.net+nhibenate+asp.net Mvc+easyui framework, access to relevant information, understanding of how the framework is used, as well as the pros and cons, the following statements may be more obvious, the follow-up may be in the development process to understand more deeply. Please correct me in the wrong place.
First of all, when you get this framework, the first question is why do you want to use this framework, what is the advantage, through the simple understanding of the data: in order to achieve the application of loose coupling, through the configuration to complete the processing of data business logic, saving development time, convenient post-maintenance and database migration.
Later read an article on how to build the Spring.net+nhibenate+asp.net Mvc+easyui framework. According to the construction process, the article described the structure of the project, drew a sketch (below).
The items described in the article are understood as follows:
1, set up the data table entity class.
2. Configure hibernate mapping file Model.hbm.xml and set as embedded Resource
3, then write the Idao interface layer, through the Hibernatedao to implement the interface.
4, write IBLL interface layer call Idao interface layer, through the BLL to achieve IBLL interface.
5, then in the Web Layer configuration framework XML file, through the way of Mvc+easyui data interaction, Mvc+easyui is through Ajax data interaction.
Personal knowledge of the Spring.net+nhibenate+asp.net Mvc+easyui framework