First, the understanding of the front-end framework

Source: Internet
Author: User

Referring to the framework is generally expected to be back-end use, especially the Java SSH Framework is very popular, these frameworks are based on the idea of MVC architecture. I understand that this is decoupled from the highest level, separating the data, the business, the view, both from understanding and from the actual workflow.

For back-end business composition: Database (db), service (sevice), Interface (Action), view.

Data tier-database

Control layer, specify the request to the response class, and then invoke the business service class in the response class, and the business service class obtains the data from the database for business processing to return to the response class when the response class is finished returning the data.

The front end of the view layer, issuing a request to the server, after the request succeeds, returns a data structure, usually key-value in the form of data.

Understand how to architect a front-end framework from a back-end workflow?

In fact, the front end is also composed of data, business, views, such as

Data-tier data model, front-end and background request interface data format.

Control layer 1. Instantiate the data model, 2. Process the business request, obtain the Entity Data model, and process the set-to-view.

A module (or Page) with the view layer, which is a data-driven display effect.

Although there are some differences, the essence is data, control, and view composition.

First, the understanding of the front-end 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.