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.