官术网_书友最值得收藏!

The architecture of the Internet

The Internet is primarily based off on a client/server relationship, with client computers, mostly people at home or at their office, connecting to web servers, usually as part of browsing a web site.

Because the web servers are physically separated from the client computers, and could be thousands of miles away, Internet interactions are limited to distinct requests and responses to and from web servers. It doesn't happen instantaneously, like with a native application that is running on our computer. Even though some modern web sites and high-speed connections can seem almost to act like a native application, they still operate in the same way as other web sites, via request and response.

This difference is illustrated in the following figure:

The architecture of the Internet

When building a web site, the web developer will put all the files needed for the site onto the web server. Then when a person on their client computer visits the web site using a web browser, they don't actually go to the site. The reality is that the site comes to them. The client sends their request to the web server, the web server sends them a copy of all of the web pages and files that are needed to fulfill their request, and then their web browser assembles the files into a presentable web page, as illustrated in the following figure:

The architecture of the Internet

Why is this important? Because it is important to realize that when someone is interacting with our web business, they aren't interacting with it live, but only with its copy that was downloaded onto their computer. This will affect how we approach designing, building, and also fixing our web business.

Note

Modern Internet advances, such as cloud computing, AJAX, caching, and the like have recently produced a growing number of instances that are slightly different to the model given above, or at least appear to be different. However, they all still follow the basic premise of request and response.

主站蜘蛛池模板: 泰顺县| 凉城县| 镇远县| 龙口市| 贵阳市| 山东| 靖边县| 沂源县| 武夷山市| 朝阳县| 永嘉县| 乌恰县| 郯城县| 溧水县| 阳曲县| 灌阳县| 黄平县| 诸暨市| 富民县| 九龙县| 贵州省| 乐业县| 凤冈县| 林芝县| 正宁县| 龙泉市| 筠连县| 德庆县| 陈巴尔虎旗| 景谷| 府谷县| 安仁县| 白玉县| 兰溪市| 洪泽县| 奉节县| 开平市| 富顺县| 翼城县| 贵南县| 定南县|