Three-tier application model that must be learned in Object-Oriented Design

Source: Internet
Author: User

Three-tier application model that must be learned in Object-Oriented Design

A three-tier application model refers to a system design in which the entire system is divided into three layers: User Interface Layer (UI Layer), Business Object layer (logic layer), and data layer.
The user object Layer focuses on the implementation of the software interface, the Business Object layer focuses on the user's business rules and logical structure, and the data layer focuses on the implementation of the database.
To better understand the layer-3 Application Model, let's make a metaphor:
User Interface Layer (UI): Like actors on the stage, it attracts the attention of the audience and gives the audience experience.
Logic layer: persons who provide instructions and prompts, including orchestrations, stage managers, directors, etc. These people deal with actors on the stage, but the audience cannot see them. They direct actors and provide materials to them.
Data Layer: it consists of people responsible for setting scenes and materials, including scriptwriter, dancing beauty, and set artist. These people provide drama materials together, and the audience can only see their works.
In e-commerce: the UI is a form, shopping cart, graphics, etc. The business layer is composed of logic such as control pricing, transportation fee, and data layer is composed of inventory lists in the database.
In many cases, system design follows a three-tier application model.

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.