on Internet – 1st Week of January 2024

New Year learning Accountability Journal  :-

Consists of iteration as well as new things 

As I am learning this things with a mindset of understanding this to a 10 year old kid, so I made it simple for understanding with examples.

internet

 

Learned about:-

  • Network and Internet
  • DNS
  • DHCP
  • INTERNET PROTOCOLS
  • URL
  • CLIENT-SERVER MODEL
  • REQUEST-RESPONSE MODEL
  • HTML (iteration)

My notes :-

 

My mother has Samsung Smartphone , she is chatting on what’s app with my father who has a Motorola Smartphone

I have a LG smartphone and My brother has a Asus Smartphone, we are also chatting on what’s app.

so my mother and father’s smartphone together forms a network.

me and my brother’s smartphone together forms a network.

When two network combines it form a network chain.

Let’s take example of another network chain:-

Raj has Micromax smartphone and he  is chatting with Rehan who has a Xolo Smartphone on What’s app. (forms a network)

Simranjeet who has Karbonn smartphone is chatting with Harsh who has a Lenovo Smartphone on What’s app. (forms a network)

Again 2 network forms network chain.

Two network chain combines together forming Interconnected Network known as our internet.

 

  1. Individual Networks:

    My mother’s Samsung and father’s Motorola, along with my LG and brother’s Asus, each form a network when they communicate through WhatsApp.

  2. Network Chains:

    The interactions within my family create individual network chains, like one between my mother’s Samsung and father’s Motorola, and another between my LG and brother’s Asus.

  3. Combining into Internet:

    When these network chains combine, they form a larger network structure – an internet of connected devices. It’s like a digital community where different families (networks) come together to communicate and share information.

 

  • Device Connection:
    • You turn on your laptop and connect it to the Jio Fiber network. Your laptop now needs an IP address to communicate on the network.
  • DHCP Discovery:
    • Your laptop sends a message to the Jio Fiber router, saying, “I need an IP address to join the network.” This is the DHCP discovery.
  • DHCP Offer:
    • The Jio Fiber router responds, “Sure, here’s an available IP address for you to use.” This is the DHCP offer.
  • Request and Acknowledgment:
    • Your laptop, happy with the offered IP address, officially requests it. The Jio Fiber router acknowledges the request.
  • IP Address Lease:
    • The Jio Fiber router grants a lease for the IP address to your laptop, specifying how long your laptop can use it. It’s like the router saying, “You can live at this address for a while.”
  • Configuration Information:
    • Along with the IP address, the router provides other configuration details, such as the subnet mask, default gateway, and DNS servers. It’s like giving your laptop a map to navigate the network.
  • Device Configuration:
    • Your laptop configures itself with the provided IP address and associated network settings. Now, it’s officially part of the Jio Fiber network.
  • Visiting Google.com:
    • You open your web browser and type “www.google.com” in the address bar.
  • DNS Lookup:
    • Your laptop, not knowing the IP address of Google’s servers, sends a request to a DNS server. This server translates “www.google.com” into an IP address.
  • IP Address Return:
    • The DNS server sends back the IP address of Google’s servers to your laptop.
  • Connecting to Google:
    • Now armed with the IP address, your laptop connects to Google’s servers over the Jio Fiber network.
  • Web Content Delivery:
    • Google’s servers send back the webpage, and your laptop displays the Google homepage.

 

 

Websites and web apps are like digital places you can visit on the internet.

A website is like a fun book to read online – you look at different pages but don’t really interact.

Now, a web app is more like a game where you can do things, like clicking buttons or entering information.

Websites are great for reading, while web apps let you play and participate in the online world.

Websites is like user can see the content but there will be no interactivity. ex. informational websites and brochure , portfolio websites.

WebApp is like user can see the content as well as like it , save it to their lists . it has dynamic interaction with the user.

web pages are like online pages in a magic book that appears on your computer or phone. Each page is a special space on the internet where you can see pictures, read stories, or learn new things. You move from one page to another by clicking on links, just like turning the pages in a storybook. Websites are like big collections of these magical pages that you can explore whenever you want.

When we build our website , we need to make it visible in the web. We do not need our own server to host it. We can rent a server from hosting companies like godaddy,hostinger etc. we can host our website there

  • Web Browser

    A web browser is like a magic window to the internet. When you want to see or do something on the web, you open your browser. It’s the tool on your computer or phone that lets you visit websites, watch videos, and play games. Think of it as your friendly explorer, helping you travel and discover all the cool things online.

  • IP ADDRESS

Internet protocols are like the rules of a big playground where everyone wants to play and share toys. Imagine each child has a set of rules they follow to play together nicely. In the same way, computers on the internet have protocols – a set of rules they follow to talk, share information, and make sure everything runs smoothly.

Internet protocols are like the rules of a big playground where everyone wants to play and share toys. Imagine each child has a set of rules they follow to play together nicely. In the same way, computers on the internet have protocols – a set of rules they follow to talk, share information, and make sure everything runs smoothly.

Think of building a digital house on the internet. If you use a framework, it’s like having a ready blueprint and a construction team that helps you build walls, floors, and ceilings quickly. The framework guides you on how to organize things, saving time and effort.

Now, if you use a library, it’s like having a toolbox with different tools. You pick the tools you need for specific tasks, like adding a fancy door or a beautiful window. The library provides individual solutions for different parts of your project. With a framework, you follow a set plan, and with a library, you pick the tools you like.

A web server is like a waiter in a restaurant. When you (the client) ask for a menu (web page) using a language everyone understands (HTTP), the web server brings you what you asked for. It’s the middleman that makes sure you get what you need from the kitchen (website) efficiently

HTTP and HTTPS are like special languages that computers use to talk to each other on the internet. It’s how your computer asks for a web page, and the server (a powerful computer that stores websites) sends it back. Imagine HTTP as a postcard – your message is on it, but anyone could read it. Now, HTTPS is like a letter in a sealed, secure envelope – your message is safe because it’s encrypted, just between you and the website.

  1. Client Request:
    • You open your web browser and type “www.google.com” in the address bar or click on a link pointing to Google’s homepage.
  2. Request Sent to Server:
    • Your computer (the client) sends a request to Google’s server, asking for the Google homepage.
  3. Server Processing:
    • Google’s server (the waiter) receives your request, processes it, and prepares the Google homepage content.
  4. Server Response:
    • The server (waiter) sends back the Google homepage content as a response to your request.
  5. Client Display:
    • Your web browser (you) receives the response and displays the Google homepage on your screen
    1. Device Arrival: When your computer joins the network, it doesn’t have an IP address yet. It’s like a new person moving into the neighborhood.
    2. Asking for an Address: Your computer sends a little message saying, “Hey, I’m new here, and I need a house number.” This is the DHCP discovery.
    3. Offering a House Number: The DHCP server, which is like the neighborhood coordinator, says, “Sure, you can have this available house number.” This is the DHCP offer.
    4. Accepting the Offer: Your computer says, “Great, I’ll take that number!” This is the DHCP request.
    5. Getting the Official Go-Ahead: The DHCP server says, “You’re all set! Here’s your house number, and by the way, here are the rules of the neighborhood (like where to find the internet gateway and DNS servers).” This is the DHCP acknowledgment.

DNS translates human-readable names (like www.google.com) into computer-readable IP addresses.

  1. User Input:
    • Imagine you want to visit a website, like www.google.com. Instead of using its IP address (a set of numbers), you use the easier-to-remember name.
  2. Request to DNS Server:
    • Your computer doesn’t know www.google.com‘s IP address, so it sends a request to a DNS server. This server is like the giant phonebook of the internet.
  3. DNS Lookup:
    • The DNS server looks up www.google.com in its records and finds the corresponding IP address, like 192.168.1.1.
  4. IP Address Return:
    • The DNS server sends the IP address back to your computer.
  5. Connecting to the Website:
    • Now armed with the IP address, your computer connects to the web server hosting www.google.com .
  6. Web Content Delivery:
    • The web server returns the website’s content to your computer, and you see the webpage.

 

  1. An API is like a helpful waiter in a restaurant. Imagine you’re at a café, and you tell the waiter what you want.
  2. The waiter takes your order to the kitchen, and the chefs prepare the food. When it’s ready, the waiter brings it back to you.
  3. In this scenario, you (the user) are like a different program or app, the waiter is the API, and the kitchen is the server or database.
  4. The API helps different software programs communicate and share information, just like the waiter helps you get your food.
  5. An IDE is like a super-smart workspace for computer programmers. Picture
  6.  it as a magician’s table where the magician has all the tools needed for a spell.
  7.  In the same way, an IDE has everything a programmer needs to create software – a text editor for writing code, a debugger to catch mistakes, and a way to run and test the code.
  8.  It’s like a one-stop-shop where programmers can build, edit, and check their creations.
        Imagine a website’s address is like a set of instructions to find a treasure on the internet.
  1. Protocol:
    • Description: The protocol is like the type of map you use for your treasure hunt. Most common is “http://” or “https://,” where “s” means it’s a secure map. It tells your browser how to communicate with the website.
    • Example: If it’s like saying, “We’re using a special treasure map called ‘https.'”
  2. Domain Name:
    • Description: The domain name is like the unique name of the island where the treasure is hidden. It’s the main address of the website.
    • Example: In “https://www.google.com,” “www.google.com” is the island name.
  3. Path:
    • Description: The path is like the directions on the island to reach the exact spot of the treasure. It guides your browser to the specific page or content you want.
    • Example: In “https://www.google.com/images/treasure.png,” “/images/sp.png” is the path to the treasure.

Disclosure:- I have used generative ai for some ideas for notes – these are my ANKI flashcard notes too , World is changing. We all have limited time.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top