Software architecture form

C/S (client/server)

  • Generally, the software we use is C/S architecture, such as: QQ, WeChat, Taobao
  • C stands for client, users use the software through the client
  • S represents the server, the server is responsible for processing the business logic of the software

Features

  • The software must be installed before use, such as mobile phones or computers using QQ, WeChat must install the client
  • When the software is updated, the server and the client are updated at the same time
  • C/S architecture software cannot be used across platforms, such as the mobile version of QQ cannot run on windows
  • The communication between the client and server of the C/S architecture software uses a protocol written by itself, which is relatively safe

B/S (browser/server)

  • B/S is essentially C/S, but the software of the B/S architecture uses the browser as the client of the software, that is, the mobile phone or computer must install a browser software to run the software
  • B/S architecture software uses the software by using a browser to access web pages
  • In the browser software, the B/S architecture software is accessed in the form of web pages.

Features

  • The software does not need to be installed, just use the browser to visit the specified website
  • When the software is updated, only the server needs to be updated, and the client does not need to be updated
  • The software can be cross-platform, as long as there is browser software in the system, it can be used
  • B/S architecture software, the communication between the client and the server uses the http protocol, which is relatively insecure

Guess you like

Origin blog.csdn.net/qq_36828822/article/details/105895290