How the Web works ?

How the Web works ?

·

4 min read

How the internet works

how-does-internet-work.png

When you open your favorite app on your devices,you're instantly connected to the world. This all made possible because to device connect and communicate via wire or wireless connection between two or more than two devices and this connection known as Network. 1.0.png Such network is not just not limited for two computers. You can connect multiple devices to this network but this become very complicated quickly because each device need to connect every other device to communicate effectively, For example you want to connect twelve computer,you need 66 cables and 11 plugus per computer.This problem solved by using Network Switch. Each computer on a network is connected to a special tiny computer called a Network switch. Network switch connects multiple devices and allows them to network each other.Once we add a network switch to the system, our network of 12 computers only requires 12 cables and single plug for each computer and a router with 12 plugs.

s2 (2).png So far so good. But what about connecting hundreds, thousands, billions of computers? Of course a single network switch can't scale that far,As we said that a Network is a computer like any other These network switch can connect to more network switches until you have something called an interconnected network.This interconnected network is also known as Internet. internate.png

Web Server

A server is computer that runs application and services ranging from websites to instant messaging,It's called server because it provides services to another computer and its user also known as the client,Is typically stored in something called a data center with hundreds or thousands of other servers. All running different services connected to the internet.There are many different system in a data center to ensure that servers have continuous power,continuous internet connection,and kept cool 24 hours per day.The data centers located all around the world and most of the website allow you to access your content quickly from your nearest data centre. The data centre server are built based on service purpose,for example,if a server only to be used for storing images,it might have lot of hard drive space,where a server computing complex might need a fast processor and lot of memory ,These usually to server hardware. The physical components of a server,Once a server hardware installed in a data centre,a piece of code can run now.The code that run on hardware is known as software.

Function of web servers

  • Web site storage and Administration
  • Data storage
  • Security and Managing email
  • Web request s3 (2).png This process is known as request response cycle.

    Websites and Webpages

    A Webpage is a document that display images,texts,video and other content in the web browser. A website is a collection of linked web pages (plus their associated resources) that share a unique domain name. A web page can embed a variety of different types of resources such as:-
  • style information — controlling a page's look-and-feel
  • scripts — which add interactivity to the page
  • media — images, sounds, and videos.

If you want to work with a web page,you need to know about three technologies and understand how they interact,their HTML,CSS and JavaScript.HTML structure the content CSS controls the colors and styles and JavaScript is responsible for the user interaction.

Web Browser and How does it work?

A web browser or browser for short, is a software application that you use to browse the world wide web. It works by sending a request to web server and then receives a repose containing the content that is to be displayed on the screen of your device. Once the browser is open on your devices,there is the address bar where you input the address of the website that you want to visit. The address is commonly known as the uniform resource locator or URL for short. The URL contains the protocol or HTTP, the domain name, usually the name of website and file path or the path is displayed. url-structure.jpg When you make a request using this URL the browser and server communicate using a protocol known as Hypertext Transfer Protocol or HTTP. Once the web browser receive the content,it displays it on the screen of your devices image.png

Web hosting

Many developer can launch website to the internet using something known as Web Hosting.Web hosting is the a service where you place your website and file on the hosting companies web server. Different options available in web hosting:-

  • Shared Hosting
  • Virtual Private Hosting
  • Dedicated Hosting
  • Cloud Hosting