Everything Happening

When you make the request to http://localhost:5000 a lot happens in a short time. Lots of different technologies come into play. The following are some of the steps taken and the technologies used.

  1. Your browser (the client) makes a GET request for the resource from the web application (the server).
  2. The web application receives the request at a particular URI, routes it to the function we created that responds to that URI.
  3. Our function does its work, then the web application returns a response (including a response code, and a response body) back to the browser, and the browser displays the response to us.

The request and response process and URIs are all part of the HTTP protocol, which you can read more about in the In Depth section at the end of the workshop materials. Web frameworks help in reducing the complexity of the particulars with HTTP so that developers can focus on solving problems for their users rather than low level concerns like HTTP.

client server model