Briefly. NET Enterprise-class system architecture design

Source: Internet
Author: User

. The architecture at the net design level, such as the 1.1 diagram, is a. NET architecture divided from the design level.

Figure 1.1

The principle of software design is to improve the reusability and scalability of software system, the approach we use is to divide the hierarchy of application systems, which is a logical division that is not a physical division, that is, these layers can be on a computer and of course can be distributed on multiple computers. These layers are loosely coupled and the interior of the layers is high cohesion. Therefore, reducing coupling is the goal of software design, can design a low coupling system, it means that our system is reusable and scalable.

1.1.1 Presentation Layer

The presentation layer (presentation Layer) is a collection of components that the user interacts with the system. The user submits the request to the system through this layer or sends out the instruction, the system receives the user request or the instruction through this layer, then, after digesting and absorbing the instruction, calls the next layer, then displays the result of the call to this layer. The presentation layer should be frivolous and should not have business logic, if Windows Form technology is used in the presentation layer is our familiar desktop system. If you are using technology such as ASP.net and HTML in the presentation layer, this is what we call the Web system, when we call the presentation layer also called the Web layer. But no matter what the technical presentation layer should be thin.

1.1.2 Business Logic Layer

The Business Logic layer (Business Logic Layer) is the component set of the core business processing layer of the system, is responsible for receiving the instruction and data of the presentation layer, after digesting and absorbing, carries on the processing of the organization business logic, and returns the result to the presentation layer. To reduce the coupling problem between the presentation layer and the business logic layer, we introduce the interface between the two tiers, and then inject the dependencies at run time.

1.1.3 Data Access Layer

The data Access layer (Layer) is a collection of components used by the business logic layer to access the data tier, and the business logic layer should not have code to access the database in order to reduce the coupling degree, and the code to access the data layer should be placed in the data access layer. In the data access layer is generally through the DAO (data Access Object) access to the data layer, but also to reduce the coupling, DAO is designed as an interface, the DAO Implementation section can pass Ado.net technology, you can also use some frameworks such as NHibernate.

1.1.4 EIS layer

The EIS layer is the enterprise Information System layer, is the system data source, may be the database, the file (for example CSV, XML file and so on) and the legacy system (data source other system), but in most cases refers to is the database.

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.