C # Middle-layer architecture

Source: Internet
Author: User

What is a three-tier architecture:

The three-tier architecture (3-tier Application) generally divides the entire business application into: presentation layer (UI) and business logic layer (BLL) data access layer (DAL ). The purpose of hierarchy differentiation is the idea of "high cohesion and low coupling.

What are the advantages of a three-tier architecture:

1. Easy Project Modification and maintenance. During project development or after development, or even during project migration. This three-tier architecture is very convenient. For example, to migrate a project from web to form, we only need to repeat the presentation layer. The remaining two layers do not need to be changed. You only need to add them to the existing project. If this architecture is not usedCodeWrite to the presentation layer. Then almost all the codes will be re-submitted.

2. Easy to expand. This is also true for function extensions. If you want to add a function, you only need to add the method of the original class library.

3. Easy code reuse. This does not need to be explained.

4. Easy division of labor and collaboration

It can be compared to the operation of a hotel.

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.