{"id":6709,"date":"2021-03-26T16:19:47","date_gmt":"2021-03-26T10:49:47","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=6709"},"modified":"2021-03-26T16:19:47","modified_gmt":"2021-03-26T10:49:47","slug":"client-server-architecture","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/","title":{"rendered":"CLIENT-SERVER ARCHITECTURE"},"content":{"rendered":"<p><b>Client:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">It is a computer hardware device or software that accesses a service made available by a server. The server is often located on a separate physical computer.<\/span><\/p>\n<p><b>Server:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">It\u2019s a physical computer dedicated to run services to serve the needs of other computers. Depending upon the service that\u2019s running, it could be a file server, database server, home-media server, print server, or web server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To put it in a nutshell, the client is a place from where users can initiate the request, see the response, and a server is a place where all the data and pages will be available or stored.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When a user opens the browser and sends some URL, that URL will be sent to the server and whatever the data is available at the server, the user gets the response and the data can be seen by the browser.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The server usually stores all the page data in a website and sends the response in different formats such as XML, JSON. The response usually can be HTML code that is interpreted by the browser. The browser interprets the statements and then shows the data in the form of user-understandable data.\u00a0<\/span><\/p>\n<p><strong>There are different architectures present in the client-server.<\/strong><\/p>\n<h2><b>1-Tier architecture:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">For instance, we have an application which is having only 2 layers. Examples are Excel files, MS word, etc. In order to work with these applications, users don\u2019t need the internet. When the user opens the file and fills it with some data and saves it, it will be saved in a file system. It\u2019s saved in the file system on a computer hard drive. So here there are only two components in the architecture namely client computer and file server which is nothing but a hard drive. Since the whole process takes place inside a single computer, it\u2019s called 1-Tier architecture.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\" wp-image-6714 aligncenter\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/one-tier-software-architecture-300x262.png\" alt=\"\" width=\"398\" height=\"348\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/one-tier-software-architecture-300x262.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/one-tier-software-architecture.png 617w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><\/p>\n<h2><b>2-Tier architecture:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">This architecture consists of 2 layers namely the Client layer and the database layer. When the user opens the form through the client and saves it after inserting\/modifying it, the changes happen in the database layer. Since the client and database servers are in different systems, it\u2019s called 2-Tier architecture. Not only there can be one client but also many clients can be connected to the same database server. In this also no need for a network just LAN is enough. Usually, in banks, this kind of architecture is followed(At the end of the day the stored transactions in the local server will be moved to the main server).<\/span><\/p>\n<p><img decoding=\"async\" class=\" wp-image-6713 aligncenter\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/two-tier-architecture-300x192.png\" alt=\"\" width=\"398\" height=\"255\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/two-tier-architecture-300x192.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/two-tier-architecture-624x399.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/two-tier-architecture.png 629w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><\/p>\n<h3><b>3-Tier architecture:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Whenever the web application came into the market, this architecture became popular. In this, we have a client layer which is nothing but a browser, a database server where all the data gets stored, and in between both, there will be another layer named the business logic layer. As soon as the user sends the request through a client(browser), the corresponding business logic will get executed. The business logic layer contains business logic in the form of programs. Depending on the request corresponding business logic gets triggered and will be sent to the database server.\u00a0 Business logic will give the response to the client which comes from the database server. API testing depends on the business logic layer. Usually, this layer is known as an application server or web server, and the client layer is known as the presentation layer. The Internet is needed for this type of architecture.<\/span><\/p>\n<p><img decoding=\"async\" class=\" wp-image-6712 aligncenter\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/three-tier-software-architecture-300x156.png\" alt=\"\" width=\"400\" height=\"208\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/three-tier-software-architecture-300x156.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/three-tier-software-architecture-768x400.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/three-tier-software-architecture-624x325.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/three-tier-software-architecture.png 828w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Different technologies are used in different layers. In the presentation layer, scripting languages such as HTML, CSS, Javascript are used. In the business logic layer, Java,.NET, C#, python, etc are used. In the database layer, MongoDB, MySQL, Oracle, etc are involved.<\/span><\/p>\n<p><strong>Testing in the presentation layer is known as GUI testing.<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Without using UI, if a request is sent to the business logic layer directly and getting the response, the corresponding testing is known as API testing. API is a collection of programs that take an input(request) and give output(response). Postman tools can be used for this.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Testing in the database layer is known as database testing. Connection of the tables etc will be tested.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Client: It is a computer hardware device or software that accesses a service made available by a server. The server is often located on a separate physical computer. Server: It\u2019s a physical computer dedicated to run services to serve the needs of other computers. Depending upon the service that\u2019s running, it could be a file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[595],"tags":[597,596],"class_list":["post-6709","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-client-server-model","tag-client-server-architecture","tag-client-server-model"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Client Server Architecture | Client Server Model<\/title>\n<meta name=\"description\" content=\"Client-server architecture, architecture of a computer network in which many clients request and receive service from a centralized (Host) server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Client Server Architecture | Client Server Model\" \/>\n<meta property=\"og:description\" content=\"Client-server architecture, architecture of a computer network in which many clients request and receive service from a centralized (Host) server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-26T10:49:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/Client-Server-Architecture.png\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"CLIENT-SERVER ARCHITECTURE\",\"datePublished\":\"2021-03-26T10:49:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/\"},\"wordCount\":696,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Client-Server-Architecture.png\",\"keywords\":[\"client-server architecture\",\"Client\u2013server model\"],\"articleSection\":[\"Client server model\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/\",\"name\":\"What is Client Server Architecture | Client Server Model\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Client-Server-Architecture.png\",\"datePublished\":\"2021-03-26T10:49:47+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"description\":\"Client-server architecture, architecture of a computer network in which many clients request and receive service from a centralized (Host) server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Client-Server-Architecture.png\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Client-Server-Architecture.png\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/client-server-architecture\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLIENT-SERVER ARCHITECTURE\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Client Server Architecture | Client Server Model","description":"Client-server architecture, architecture of a computer network in which many clients request and receive service from a centralized (Host) server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/","og_locale":"en_US","og_type":"article","og_title":"What is Client Server Architecture | Client Server Model","og_description":"Client-server architecture, architecture of a computer network in which many clients request and receive service from a centralized (Host) server.","og_url":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/","og_site_name":"InnovationM - Blog","article_published_time":"2021-03-26T10:49:47+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/Client-Server-Architecture.png","type":"image\/png"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"CLIENT-SERVER ARCHITECTURE","datePublished":"2021-03-26T10:49:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/"},"wordCount":696,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/Client-Server-Architecture.png","keywords":["client-server architecture","Client\u2013server model"],"articleSection":["Client server model"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/","url":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/","name":"What is Client Server Architecture | Client Server Model","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/Client-Server-Architecture.png","datePublished":"2021-03-26T10:49:47+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"description":"Client-server architecture, architecture of a computer network in which many clients request and receive service from a centralized (Host) server.","breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/client-server-architecture\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/Client-Server-Architecture.png","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/03\/Client-Server-Architecture.png","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/client-server-architecture\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CLIENT-SERVER ARCHITECTURE"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=6709"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6709\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/6711"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=6709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=6709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=6709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}