How things happen over Web

Sarvesh Prajapati
Jan 24 · 4 min read

Hey there ! So as you know how you can start your web dev journey.

If you haven’t, checkout the story below 👇

So, where we were !

Yeah, There are couple of things you need to know about web ! 🌞

It’s been seen that the way people accessing the web is changing
over the time.

As we all know to access the web, we need a web browser.
But how a browser work ❔

Thought there are a lot of browser, like

  • Chrome
  • Firefox
  • Safari
  • Opera
  • Microsoft Edge

So, if you ever open a browser, you can see a address bar which often referred as Search Bar.

In the address bar, you search something you want to surf.

So you type in the search bar, like here to type something I want and once you hit 🥊 the enter , there something happen behind the scene in the matter of second, well sometimes millisecond.

Hit the endter

After you press the enter, the browser fetch the IP address of whatever you type in the address bar, from the DNS or Domain Name Server.

Search the IP address of domain YouTube

In DNS every domain store in the form of a unique IP address, the browser request to the IP address and the server give the response according to the request over a Standard Protocol.

Sounds silly ! 🙄. Let’s dive deeper

Once the client make a request to the server, at first there is a connection built between the client and the server, called TCP/IP .

Request and response between Client and Server

Now, once the connection build, you can make requests to the server.

The server software are written in different languages like:

  • java
  • python
  • node js
  • asp.net

But they all try to achieve the same goal.

They fetch the data according to your request from the server and give you the data.

The data is might be in HTML , XML or JSON.

But for the sake of simplicity we assume the data is in HTML.

Fetching data from server

But you didn’t make a request for an HTML page, Right. 🦉

This is where the Browser comes in. 🦸‍♂️

If the server gives you the visual rendered page, this might takes a lot of time.

So, it gives you the data in the format of HTML CSS and JS and the browser convert this data into the Visual rendered page, in just a flash of second ⌚.

And your page to ready for your enjoyment. 🎉

Congratulation

Wrap things up:

A browser is not only just help you to surf the web but also simplify your work by tracking your activity, restrict errors, keeping secret info, speed up the way you browse with using cache, and much more.

So, thanks for reading the post. Feel free to comment down your opinion.

Have a good day.

Bye Bye

Nerd For Tech

From Confusion to Clarification

Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To stay up to date on other topics, follow us on LinkedIn. https://www.linkedin.com/company/nerdfortech

Sarvesh Prajapati

Written by

Making recipe with Programming :)

Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To stay up to date on other topics, follow us on LinkedIn. https://www.linkedin.com/company/nerdfortech

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store