Last active
September 26, 2019 18:23
-
-
Save rbannal86/cd3f114910f9dbb2d1aec7d6335396fb to your computer and use it in GitHub Desktop.
howWebAppsWork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Client-Server Analogy: | |
You are a client. You walk into a tiny candy store and, immediately, you realize that this is a strange store. There's a small space, | |
a counter, and a person behind the counter. There is a dark doorway behind the person. You ask the person for a piece of candy corn. | |
That person walks into the dark doorway and returns with a piece of candy corn. That dark doorway leads to the server. You, the client, | |
requested a piece of information (candy corn) and the strange person (API) retrieved it from the room behind the dark doorway (server). | |
Request/Response Cycle Diagram: | |
https://docs.google.com/drawings/d/1ITYlU84WAcKpfAnoTF4_YKSIjJq_TiEXeDIqknGCF0M/edit?usp=sharing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment