Personal knowledge of the Spring.net+nhibenate+asp.net Mvc+easyui framework

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.