Introduction to Internet Development Architecture

Introduction to the basic architecture of Internet software

C/S architecture

This mode is also called Client/Server mode .
Common C/S software includes various large-scale online games, such as World of Tanks and A Chinese Ghost Story. Another example is all kinds of chat communication software including qq, Michat and so on.

C/S architecture advantages

  1. Good user experience
  2. Able to realize more complex business

C/S architecture disadvantages

  1. High software update costs
  2. Development, installation, deployment, and maintenance are troublesome.

B/S architecture

This mode is a software with Browser/Server browser/server-side architecture. Only one browser is needed in the slave mode. The user accesses different server-side programs through different web addresses (URL).

B/S advantages

  1. Simple development, installation, deployment and maintenance

B/S disadvantages

  1. If the app is too large, the user experience may be affected
  2. Excessive hardware requirements

Resource classification

Static resources

Static resources are usually resources released by static web development technology.
Its features are as follows:
Features:

  • All users visit, the result is the same. Such as: text, pictures, audio, video, HTML, CSS, JavaScript, if the user requests static resources, the server will directly send the static resources to the browser. A static resource parsing engine is built in the browser, which can display static resources.
Dynamic resources

Dynamic resources usually use resources released in time by dynamic web pages, and their characteristics are as follows:

  • After all users visit, the results obtained may be different.
    Such as: jsp/servlet, php, asp...
    If the user requests a dynamic resource, the server will execute the dynamic resource, convert it to a static resource, and send it to the browser.

Guess you like

Origin blog.csdn.net/xueshanfeitian/article/details/109174949