Skip to content

Instantly share code, notes, and snippets.

@chriscarlsondev
Last active May 21, 2019 17:57
Show Gist options
  • Save chriscarlsondev/2750603e3f0427012ec100f687685abb to your computer and use it in GitHub Desktop.
Save chriscarlsondev/2750603e3f0427012ec100f687685abb to your computer and use it in GitHub Desktop.
An analogy and diagram to explain how web apps work

Write an analogy to describe the relationship between clients and servers. The client and server relationship is like ordering products from Amazon. The customer (client) creates an order for a product from Amazon (server). The server receives the request and ensures that the person is able to purchase it. If they are able to purchase it, Amazon (server) sends by the requested product or products (resources) back to the client.

Draw a diagram of the request/response cycle. You can draw your diagram by hand and take a photo to add to your Gist. request-response-cycle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment