Browser Working principle Web client working principle

Source: Internet
Author: User
In this course, the Web client clearly refers to the Browser. Any application system must have an interface for user operations, that is, the user interface. Browser work

(1) how the Web client works


In this course, the Web client clearly refers to the Browser. Any application system must have an interface for user operations, that is, the user interface. From the perspective of the whole B/S program, browser work is an interface (interface) for users to deal with the whole B/S program, that is, the man-machine interface (interface), user interface, its task is:

Collect User input data

Send user data to the server (request the user's request to the server)

Receive the response from the server (the code that the browser can recognize and execute is represented by the client code, such as HTML code and JavaScript code)

Explanation: execute the code to display the result in the browser window. the browser plays a role (in most cases, remote) proxy (Agent) of the server in the user). This proxy is used to collect messages, request responses, and explain the instructions sent back by its leaders (servers.

(2) the Web client code is represented by the Web client code, whether it is an interface for organizing user data collection or interpreting the instructions from the server to form a result interface. Commonly used Web client code is written in HTML or JavaScript, known as HTML code or JavaScript code. In addition, there are other languages such as CSS and XML. This course only introduces the HTML or JavaScript language.

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.