I learned that closures are used extensively in Node.js which happens to be the next topic I plan on exploring this week. However, before I started learning Node.js, I decided to read some articles about how the web works. One thing about learning programming is sometimes you’re so focused on learning a language, you forget about the big picture of how the internet functions.
Below are the three blog posts I read on medium written by Preethi Kasireddy
In this article, I learned about how client and server “talk” to each other and the significance of different parts of the web such as IP, DNS, Host and URL. Additionally, how the browser translate my code into human readable content via a rendering engine. Once the engine finishes parsing the information, it generates a tree structure of DOM elements. This article is really helpful and I got a better understanding of how my code is processed behind the scene.
This article helps me understand how HTTP facilitates the flow of information in web applications. I learned about the structure of HTTP and the common HTTP methods such as GET,POST,PUT and DELETE. Additionally, the term REST which I have heard multiple times in the past. I learned the relationship between REST and HTTP. When designing an application, REST gives you a set of constraints or guidelines to follow and hence makes the system more scalable, simple and performant.