首页 > 其他分享 >没有所谓的B/S架构,只有C/S

没有所谓的B/S架构,只有C/S

时间:2022-10-03 16:35:46浏览次数:195  
标签:www 架构 server 所谓 client 只有 https com architecture

背景:

这两天看了一个视频,介绍什么是C/S,什么是B/S,总觉得很奇怪。里面说到只要是app的,都是client-server,而网页端,如h5网站,web网站,小程序等都是brower-server架构。感觉这种划分非常“反直觉”,因为现在的软件都是多端,连接在“同一个”服务器下为使用者提供网络服务,对于服务端开发来说都是无感知的。那么,C/S,B/S究竟是什么,以及什么样的关系呢?

先说结论:

B/S属于C/S,B/S甚至是一种“伪概念”,而是专指客户端程序是浏览器的访问模式。

一、现状

搜遍中文互联网,对于c/s,b/s的解释,可以归结于下图:
image

https://baike.baidu.com/item/B/S结构/4868588
这个图的来源应该是下面两篇论文
原文:https://wenku.baidu.com/view/3b96732fbdd5b9f3f90f76c66137ee06eff94eea.html
原文:https://www.docin.com/p-1208584967.html
image

论文的第一部分介绍“单机程序”,发现几乎跟第二部分"c/s架构“的优缺点是一致的,感觉第一部分之所以简短是因为作者也解释不清楚”单机程序“与”c/s架构“的区别。我们通过对号入座的方式带入我们平时接触到的联网应用,似乎都更接近于B/S, 即便是app应用,都符合B/S的特征,除了“用户接口”这一条。那么,究竟问题出在了哪里?

二、C/S历史与定义

历史来源:

  1. Main Frame Computer-->用来处理大型商业数据的集合软件,一个系统搞定一切;
    2.随着互联网的崛起, C/S 客户端服务器,两者进行分离,数据可以存取在远端的机器上;
    定义:
    在分布式系统上,软件功能分为两个部分:客户端与服务器。客户端为用户提供输入设备,向服务器请求需要的信息;服务器提供数据、资源,返回给客户端。

参考:https://www.ukessays.com/essays/information-technology/history-of-the-client-server-architecture-information-technology-essay.php#citethis
The client/server model
https://www.ibm.com/docs/en/txseries/8.1.0?topic=computing-clientserver-model

三、后话

之所以应该是最开始论文作者没有在写的时候,存粹是为了凑字数,还有自己闭门造车的理解,生生的将B/S剥离了出来。以至于后面以讹传讹,大家都这样公式化的记忆。
下次大家如果再回答”请说下cs bs的区别“,就直接说是客户端不同就可以了。

参考:

问答:
client/server and browser/server
https://stackoverflow.com/questions/5044879/client-server-and-browser-server
百度百科
https://baike.baidu.com/item/B/S结构/4868588
Client–server model
https://en.wikipedia.ahnu.cf/wiki/Client–server_model
Difference Between Web Server and Application Server
http://www.differencebetween.net/technology/difference-between-web-server-and-application-server/
What is Client Server Architecture?
https://intellipaat.com/blog/what-is-client-server-architecture/
what-is-client-server-architecture
https://www.w3schools.in/what-is-client-server-architecture
client/server and browser/server
https://stackoverflow.com/questions/5044879/client-server-and-browser-server
Client/Server Architecture
https://www.techopedia.com/definition/438/clientserver-architecture
An Ontology for Classifying Advanced Visualization Infrastructures
https://www.researchgate.net/publication/274316320_An_Ontology_for_Classifying_Advanced_Visualization_Infrastructures

New way of doing business set to emerge - new 'browser-server' architecture -Internet/Web/Online Service Information
https://www.georgeschussel.com/wp-content/uploads/articles/OM6720050524_browser-server architecture.pdf
https://www.georgeschussel.com/portfolio/the-new-browser-server-architecture/#:~:text=A new architecture that might be called browser-server,executive of Digital Consulting Inc. in Andover%2C Mass.

Difference Between Client Server Application and Web Application

Read more: Difference Between Client Server Application and Web Application | Difference Between http://www.differencebetween.net/technology/software-technology/difference-between-client-server-application-and-web-application/#ixzz7gdFNs1gA

标签:www,架构,server,所谓,client,只有,https,com,architecture
From: https://www.cnblogs.com/wyy5552/p/16750666.html

相关文章