Client/Server 和 Browser/Server 模式的区别

本文探讨了客户端/服务器和浏览器/服务器模式的区别与联系,指出在使用浏览器时,浏览器实际上扮演了客户端的角色,因此这两种架构可以视为同一概念的不同表述。在客户端/服务器环境中,设备上的软件必须与服务器软件相匹配;而在浏览器/服务器架构中,应用直接从互联网浏览器运行。

客户端/服务器模式:设备(客户端)的软件和服务器上的软件进行通信,设备上的软件和服务器上的软件必须匹配,而且只有某些设备和操作系统才支持。

浏览器/服务器模式:在任何含有Internet浏览器的设备(手机,平板,笔记本)上从浏览器直接运行程序。

二者的区别,取决于怎么看他们,如果使用浏览器,浏览器就是指“客户端”,“client/server” 和 “browser/server”两种体系结构没有真正的区别,没法比较,二者可以说是一回事,“browser/server” 就是 “client/server”。


A browser-based architecture runs an application directly from an internet browser on any device that has a browser (laptop, tablet, smartphone). In a client/server environment, the software on the server communicates with software on the device (client). Devices must have software that is matched to the server and only certain devices and operating systems will work.

I think you may be muxing your terminology. When you’re using a browser, IT is the “client” in that case. When you’re using PHP via command line, YOU are the client (or your operating system, depending on you want to look at it).
There isn’t really a comparison between “client/server” architecture and “browser/server” architecture - they are one and the same.

Browser acts as a client. So, in web world, browser/server is in-fact client/server thing.


[1] https://www.allbarcodesystems.com/faqs/difference-browser-based-clientserver-architecture/
[2] https://stackoverflow.com/questions/5044879/client-server-and-browser-server

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值