Internet For Web Developers

Manish SawManish Saw
7 min read

Internet

In short, Internet is just Transfer of Files between User and Server.

Transfer of files between user and server

Now, If you Imagine How Data is transferred before origin of Internet, then you will Imagine that peoples were transferring data with the Help of Letters and posts or using those big cables and Telephones, but then how suddenly the Internet came into mind of Peoples, and is it developed bi-mistake or just a coincidence or it's a result of years of Hard work of Peoples.
Now the next type of Question that will came in your mind will be, who developed Internet, is he is a Single person or a Group or a Company or a Country. And the most Important and most confusing Question: “How 0 and 1 are able to travel in the open environment” and able to reach my device even If I am not connected with any Physical Instrument And how My message is able to go into my friend's smartphone.
And what are these Hardest Words like Protocols, Server, client, User agent, TCP, IP.
I think I need to start now, otherwise after hearing these hardest words, you will just leave this blog, don't worry keep patient and calm and drink a cup of cold water and let's start this useful and meaningful article.


Origin Of Internet

Imagine the time of 1940s-1950s when there was no Internet, no social media, no blogs, no articles, no online friends. At that time, computer was developed but they were of very-very big sizes, imagine a computer of size of an Giant Room and they cost more than 10 Lamborghinis and 5 Rolls Royce cars and only elites, big Universities or Army Officers can afford it, but those computers are not able to talk to each other. but then Some Super-smart and Unique thinker American Uncles dreamed to connect these computers to share ideas. But had an god came in their sleep and told them about this idea. Not, there are various reasons which made him to think about this idea. And below are those reasons:

Image of Oldest Computers

  • Army Safety (Cold War):

    In 1950s, Americans and Russians where fighting like their enemy has tried to Impress his Crush. And there was a big fear in peoples that war could break the phone line and cables which is the only way to connect them.

  • Evolution of Science:

    At those time, Computers were like an dream even for an elite, and scientists wants to connect them to share their ideas.

  • Speed:

    Even after connecting with and using those large lines and cables, speed was very slow and they wanna to share data easily and quickly.

Fun fact: No one owned these Ideas, so no one can claim that he is the owner or Founder of Internet, it was just the fun work for them not for money, that's why nobody became trillionaire

Story of Internet

The First Network, ARPANET (1969):

In 1969, a group of smart uncles at ARPA(like a Big Science fund) said, "let's make computers talk!" They build ARPANET, the first computer network connecting four Universities in America. Two more persons named "Frank Heart" and "Leonard Kleinrock" set-up special boxes called IMPs to send packets and the First Message send through Internet in this world was "LO", they don't wanna to message "LO" instead they wanna to message "LOGIN" but the computer crashed. But still it was an Great Victory, because first time any message was send through Internet without those long cables.

How 0 and 1 are able to travel

So let's Understand this concept with an Example, let you got your crush contact number and you messaged "Hii" to your crush. So let's understand how this message will reach to your Crush and I will use some words which you don't know like TCP or Ip, so don't worry, I will explain them after some time :

  • Binary Step:

    In the 1st Step, your Message will get converted into 0 and 1 like "H" will get converted into "01001000" similarly all letters will be converted into 0 and 1.

  • Packet Step:

    In the 2nd Step, your 0 and 1 will get converted into Packets ang guided(packed) by Protocols like TCP/Ip, don't worry just imagine these TCP and IP as Set of Rules. We convert binary codes into packets, because messages can be too long and it can be difficult to transport them, so we packs those 0 and 1 to small envelops like packets.

  • Signal Step:

    In the 3rd Step, your message will get converted into either Electrical Signals, if you are sharing data using cables, or converted into Radio/light Signals, if you are sharing data wirelessly.

  • Destination and Decoding:

    Finally the packets arrives at your crush phone where 0s and 1s are turned back into data with decoding.

In this Process, there are some helpers, which are:

  • Encoder:

    It turns 0s and 1s into packets, like packing a letter.

    Cable and Antenna:

  • sends signals through cables or air.

  • Decoder:

    turn signals back into 0s and 1s.

And all of these steps happens in milliseconds.

Complex words and jargons

Whenever you try to learn anything about Internet or basics of programming or Web Development, then these Tech Jargons(Complex Words) had must came and when you search about them on Internet, then the Responses are enough complex to skip these Topics but not Now. Let's talk about most of them in easiest words and best way.

  • User Agent

    • Agent who requests for anything from server in your behalf. Just don't get confused, generally it is the browser like Chrome or Firefox.
  • TCP

    • It states for "Transmission Control Protocol". So let's Understanding its meaning, in its full form. "Transmission" means "Transfer" and "control" means "controls" and "Protocol" means "the set of rules". It is just the set of rules followed during Transfer of data.

      • When we sends a Data, it gets transported in form of Packets from Client(Browser/You/User) to Server, now in this process, there is chances that all packets had not reached and some are missing or those packets are received in wrong sequence that can made a error or make the data corrupt.

      • Now, when we use TCP, it insures that all packets will must arrive and if any packet is missing , then TCP makes re-request for those Packets, so that no packet is missing. TCP also arranges those packets in required order so that data must not becomes corrupted.

      • As everything have an Disadvantage, it's disadvantage is that it takes more time due to arranging packets and re-requesting for un-received packets that can make things worst in “live” things like Live Videos and messages and in games etc.

  • DNS

    • DNS is also called Domain name system and it also include DNS server.

      • Let's tell me your Uncles son contact number, there is chances that you knows, but you must not memorized all contact numbers of peoples you even usually calls, this is because you had saved their Contact Information with any of your preferred name in your “contacts” and you go to Contacts and searches that person name and you get his contact details.

      • Similarly in the case of Websites, contact information is the Ip address of your requested Domain like, the Ip address of: "https://www.google.com" is “2001:4860:4860::8888**”**, "contacts" is the "DNS server" which gives you the Ip address, and "browser" is the "requester" in this case because he requests for Ip address in your behalf.

  • IP

    • It stands for Internet Protocol. And it's like your phone number. It is an rulebook(protocol) that helps devices(like Computers and phones) to communicate and find each other.

      • Every Device gets a Unique Ip address like your Phone or House number.

      • It also helps to find the best and nearest path to reach the destination. And it generally looks like this “192.168.1.1,”

Now there are some more Words which can sound a little complex, but they are not.

WordMeaning
PayloadMain content or actual data
CacheTemporarily stored data
BandwidthAmount of data that can travel through internet connection at once like the width of a road for data packets.
Routera device that directs(or Transfers) data packets between devices and networks or Internet, like a traffic police for the Internet.
CloudA network of data Severs storing and processing data over(or of) the Internet.
Firewalla security system that blocks unwanted data or hackers from entering your device or network, like a gatekeeper.
LatencyTime taken for data to travel from one place to another like a delay in a delivery.

Hope this article helped you and cleared your doubts and confusions. Make sure you like this if you generally felled it helpful.

0
Subscribe to my newsletter

Read articles from Manish Saw directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Manish Saw
Manish Saw