{"id":1390,"date":"2017-01-07T15:56:43","date_gmt":"2017-01-07T15:56:43","guid":{"rendered":"http:\/\/www.testingdocs.com\/questions\/?p=1390"},"modified":"2024-12-14T04:22:07","modified_gmt":"2024-12-14T04:22:07","slug":"what-is-client-server-architecture","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/what-is-client-server-architecture\/","title":{"rendered":"What is Client\/Server Architecture?"},"content":{"rendered":"<h2>What is Client\/Server Architecture?<\/h2>\n<p>Client\/Server architecture is a style of computing involving servers and clients communicating &amp; cooperating over the Internet to accomplish things.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-677\" src=\"http:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/3-tier-architecture.png\" alt=\"3 tier architecture\" width=\"940\" height=\"660\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p>There is a distribution of presentation services, application code, and data across clients and servers. A networking protocol is used for communication between clients and servers. In this model, the \u201cclient\u201d requests or delegates business logic to the server. The server processes and responds to client&#8217;s responses as shown in the diagram.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-675 size-full\" src=\"http:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Client-Server-Architecture.png\" alt=\"Client Server Architecture\" width=\"1135\" height=\"626\" title=\"\"><\/p>\n<h2><strong>Tiered Architecture<\/strong><\/h2>\n<p>Client\/Server is a tiered architecture. It has several layers and components, which can be visualized in either a conceptual or a physical manner. When you look at the client-server architecture conceptually, these layers are presentation, process, and database. Physically components in this model are the server, client, middleware, and network.<\/p>\n<h2><strong>2-tier Architecture<\/strong><\/h2>\n<p>In this model, all of the presentation logic and the business logic are implemented as processes on the client. 2-tiered architecture implements a \u201cfat\u201d client. Nearly all of the processing happens on the client, and the client accesses the database directly rather than through any middleware.<\/p>\n<h2><strong>3-tier Architecture<\/strong><\/h2>\n<p>In this model, the application is divided into a presentation tier, a middle tier, and a data tier. The middle tier comprises one or more application servers distributed across one or more physical machines.<\/p>\n<p>In most cases, the client machine runs a piece of software known as the web browser. The browser sends the client request over the internet to the server. The server analyzes the request, processes it, and sends back the response to the client.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-680\" src=\"http:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/TCP-IP_Stack.png\" alt=\"TCP-IP_Stack\" width=\"1077\" height=\"576\" title=\"\"><\/p>\n<div id=\"themify_builder_content-673\" class=\"themify_builder_content themify_builder_content-673 themify_builder\" data-postid=\"673\"><\/div>\n<div data-postid=\"673\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is Client\/Server Architecture? Client\/Server architecture is a style of computing involving servers and clients communicating &amp; cooperating over the Internet to accomplish things. &nbsp; &nbsp; There is a distribution of presentation services, application code, and data across clients and servers. A networking protocol is used for communication between clients and servers. In this model, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-1390","post","type-post","status-publish","format-standard","hentry","category-testing-questions","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/1390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=1390"}],"version-history":[{"count":9,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/1390\/revisions"}],"predecessor-version":[{"id":26404,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/1390\/revisions\/26404"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=1390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=1390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=1390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}