Client-Server Model
Client-Server Model What is the Client-Server Model? ⦁ In order to build database-backed web applications, we first need to understand how servers, clients, and databases interact. ⦁ A major part of this is the client-server model, so let's look at that first. The basic idea is very simple, and looks something like this: ⦁ A server is a centralized program that communicates over a network (such as the Internet) to serve clients. ⦁ And a client is a program (like the web browser on your computer) that can request data from a server. ⦁ When you go to a web page in your browser, your browser (the client) makes a request to the server—which then returns the data for that page. Adding databases to the model : Relational Database Clients : ⦁ A database client is any program that sends requests to a database. ⦁ In some cases, the database client is a webserver! When your browser makes a request, the web server acts as a server (fulfilling that...