DEV Community

Dharan Ganesan
Dharan Ganesan

Posted on

2

Day 54: Internet

πŸŽ‰ Congratulations on completing the TypeScript section! πŸš€ Now, you're heading towards HTML.

In this article, we'll take a journey through the intricate workings of the Internet, demystifying the magic behind what we often take for granted.

Understanding the Internet 🌐

The internet, often called the "Information Superhighway," is a global network of interconnected devices. It's a vast, intricate system that allows us to share information, connect with people worldwide, and access a seemingly infinite ocean of knowledge.

Communication πŸ“‘

To understand how the internet works, let's break it down into a simple communication diagram.

Image description

   User Device
       |
  Web Browser
       |
  Internet Service Provider (ISP)
       |
      Router
       |
  Destination Server
       |
   DNS Servers
Enter fullscreen mode Exit fullscreen mode
  1. User Device πŸ“±πŸ’»: This is where it all begins. Your smartphone, tablet, or computer is your gateway to the internet. It's equipped with a web browser that interprets HTML, CSS, and JavaScript to display web content.

  2. Web Browser : When you type a URL (Uniform Resource Locator) into your browser's address bar or click on a link, your browser sends a request to retrieve a specific web page.

  3. Internet Service Provider (ISP) : Your request travels through your ISP's network. They act as a bridge, connecting you to the broader internet infrastructure.

  4. Routers & Servers : Here's where the magic happens! Your request is routed through a series of routers and servers. These devices work together to find the destination server where the requested web page resides.

    • Router : Routers are responsible for directing data packets between different networks. They play a vital role in determining the most efficient path for your data to travel through the internet.
    • DNS Servers : Domain Name System (DNS) servers play a crucial role in translating human-friendly domain names (e.g., dev.to) into IP addresses that machines understand.
    • HTTP/HTTPS Protocol πŸ”’: When your request reaches the destination server, the HyperText Transfer Protocol (HTTP) or its secure counterpart (HTTPS) is used for communication. HTTPS ensures your data is encrypted for security.
  5. Web Server Response : The requested web page is found, and the server sends it back to your browser in the form of HTML, CSS, JavaScript, and other assets.

  6. Rendering πŸ–₯️: Your browser receives the response, processes the HTML, and renders the web page on your screen with all the interactive elements, images, and text.

Internet Protocols πŸ“‘

The internet relies on various protocols to ensure seamless communication. Here are a few key ones.

  • HTTP/HTTPS πŸ”’ (HyperText Transfer Protocol): The foundation of data communication on the web. HTTPS adds security through encryption.

  • TCP/IP πŸ“‘ (Transmission Control Protocol/Internet Protocol): These protocols govern how data packets are transmitted, received, and routed on the internet.

  • DNS 🌐 (Domain Name System): As mentioned earlier, DNS translates human-readable domain names into IP addresses.

  • SMTP/POP/IMAP πŸ“§ (Simple Mail Transfer Protocol/Post Office Protocol/Internet Message Access Protocol): These protocols handle email communication.

  • FTP πŸ“‚ (File Transfer Protocol): Used for transferring files between computers on a network.

  • SSH πŸ” (Secure Shell): Provides secure access to remote systems over an unsecured network.

Conclusion πŸš€

The internet, with its intricate web of communication protocols and interconnected devices, is a marvel of modern technology. It enables us to explore, connect, and create in ways that were once unimaginable.

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

If this article connected with you, consider tapping ❀️ or leaving a brief comment to share your thoughts!

Okay