Software development three-tier architecture model learning

Source: Internet
Author: User

Three-tier architecture for software development:

Understanding of the three-tier architecture:
Waiter-chef-logistics staff (materials provided)
The UI presentation layer--BLL The business logic layer--dal The data access layer (what knowledge points each layer needs to learn)
UI Presentation Layer:
Displaying data and receiving user input

BLL Business Logic Layer:
Processing user input information;
or send the information to the data access layer for saving;
Or read the data from the database through the data access layer.

Dal Data Access Layer:
Save and read operations on data

Assignment of responsibilities at all levels of the three-tier architecture (do not do extra work)
Presentation Layer (UI): Only the data entered by the user is received and the results of the business logic layer processing data are displayed to the user.

Business Logic Layer (DLL): only responsible for the business processing of data, developers do not write access to the database SQL statement in the business logic layer. The business logic layer can validate the data entered by the user, cache the data read from the database, and so on.

Data access Layer (DAL): It is best to avoid any code that is related to business logic and interface design. That is, to ensure that the functions of the methods in the data access layer are only responsible for storing or reading the data.

Purpose of using the three-tier architecture:
The Software development work Division is more clear, facilitates the later maintenance and the upgrade
The advantage of the three-tier architecture is that the software development tasks can be fully decomposed to facilitate teamwork development
For example, changes to the user interface do not affect the business logic layer and the data access layer, and the interface is available

Software development three-tier architecture model learning

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.