Everything you use every day... you're finally going to understand it.
The internet
Web vs. Internet
The Web Architecture
The Web
URLs
Browsers
Protocols
APIs
Databases
# The Internet
# The Internet
If I say "Internet"... what comes to mind?
Wifi? Your phone? Instagram? Cables?
# The Internet
# The Internet
A massive worldwide network of computers, connected by
cables (and sometimes satellites), that lets information
travel anywhere on Earth.
It's the infrastructure. The "pipes." Nothing more.
# Web vs. Internet
# Web vs. Internet
The Internet is like a giant network of highways and roads that connect cities and towns. It’s the infrastructure that lets you travel from one place to another, carrying information, much like vehicles carry people and goods.
When you send a request (for example, to visit a website), your device sends this request in the form of small packets of data across a series of networks (via cables, routers and satellites).
1.Data transmission
These packets pass through several “nodes” (routers) that direct them to the computer-server containing the website or information you want.
2.Route to server
Once the request has been received, the server sends the response (the data from the website) in packets to your device, following the reverse path.
3. Server response
Your device receives the packets and assembles them to display the web page content you requested.
4.Reconstruction and display
# The Internet
# Unveiling the Web
but did you use "the Internet" or "the Web"?
# Unveiling the Web
The Web, or World Wide Web, is a system that allows people to access and interact with information over the Internet. It's everything you SEE and use: websites, pages, images,
videos, all connected to each other through links (hyperlinks), making it easy to surf and navigate between them.
By using web browsers like Chrome or Firefox, users can view websites and use online services, enabling everything from simple searches to complex applications, all connected in a vast network.
# Unveiling the Web
# Web vs. Internet
# Web vs. Internet
Now, think of websites as the cars traveling on these roads. Each car (or website) is carrying information or content, like people or cargo, from one place to another.
# Web vs. Internet
# The Web Architecture
3 words we mix up constantly, 3 different things:
# Analogie
# Analogie
When you visit a website, it’s like reaching a destination on this highway. You might take many roads to get there, but each destination, each website, is unique.
# The Web Architecture
| Internet | The Web | |
|---|---|---|
| What it is | A worldwide network of cables/computers | A system of connected pages and content |
| Role | Transports data | Organizes and displays information |
| Example | Submarine cables, wifi, 4G | A website, a Wikipedia page |
| Analogy | The road network | The destinations on the map |
# Explaining URLs
# Explaining URLs
There are billions of pages on the Web. How does it find the right one, every single time?
# Explaining URLs
Every URL is built from the same pieces
# The Web Architecture
How the Web actually works ?
# The Web Architecture
What happens between "I click order" and "my food arrives"... is EXACTLY how a website works.
The client is the device that ASKS for something: your phone, your computer, your tablet.
# The Web Architecture
On Yassir: you open the app and place an order.
On the Web: your browser (Chrome, Safari...) asks a website for a page.
The server is the computer that RECEIVES the request and responds with what was asked for.
# The Web Architecture
On Yassir: it's the restaurant receiving your order and preparing your food.
On the Web: it's the computer storing the site, sending you the page you asked for.
# The Web Architecture
# The Web Architecture
# The Web Architecture
# Protocols
Millions of devices, all "talking" at once — how does that not break everything?
# Protocols
A protocol is a set of rules that defines how data is transmitted and communicated between devices on a network. Think of it as a common language that computers use to understand each other and exchange information efficiently and securely.
# Protocols
Protocols ensure that data is sent, received, and understood correctly across different systems, making the Internet a reliable and secure way to share information.
# Protocols
| Protocol | Full name | Purpose |
|---|---|---|
| HTTP | Hypertext Transfer Protocol | Transfers web pages |
| HTTPS | HTTP Secure | Transfers web pages, encrypted |
| FTP | File Transfer Protocol | Transfers files |
# Protocols
# Analogie
# Analogie
The Internet is like a giant network of highways and roads that connect cities and towns. It’s the infrastructure that lets you travel from one place to another, carrying information, much like vehicles carry people and goods.
Now, think of websites as the cars traveling on these roads. Each car (or website) is carrying information or content, like people or cargo, from one place to another.
# Analogie
When you visit a website, it’s like reaching a destination on this highway. You might take many roads to get there, but each destination—each website—is unique.
Just like highways have rules to keep traffic moving smoothly, the Internet has protocols (like HTTP or HTTPS) that manage how information moves around. These ensure that data reaches its destination without ‘traffic jams’ or collisions
# APIs
you never talk directly to the kitchen.
# APIs
You order through the waiter (the API), it takes your request to the kitchen (the server), then brings the food (data) back to you.
An API (Application Programming Interface) is a messenger between two pieces of software, it lets one app ask another app for information or actions,
without needing to know how the other one works inside.
# APIs
# Databases
# Databases
how does it instantly know your posts, your followers, your messages, everything?
# Databases
An organized collection of information, stored so it can be found, updated, and retrieved quickly.
# Web vs. Internet
You know how putting similar items (like pens, paper clips, sticky notes) into labeled drawers helps you find them fast?
A database does the same thing, but with information, so you can store a lot of things and always find what you need quickly.
# Web vs. Internet
A database does the exact same job, just for websites and apps, at a massive scale.
# Web vs. Internet
Every time you reopened an app, it would forget everything: your account, your messages, your progress.
Databases are what make apps remember.
Who here has kept a journal or diary? What do you write about, and how do you organize your entries ?
# Databases
Just like a diary keeps thoughts organized, a database stores information in an organized way, making it easy to retrieve later!
# Databases
When you look for a book in a library, how do you find it? Do you use a catalog or ask a librarian?
# Databases
Libraries use catalogs, just as databases organize data so users can find what they need without manually searching through everything.
# Databases
How do you keep track of your friends' phone numbers or email addresses? Do you have a contact list on your phone?
# Databases
Just like your contact list stores important information about people, a database holds data about various entities, such as customers or products.
# Databases
When cooking, do you have a favorite recipe book? How do you find specific recipes when you want to cook something?
# Databases
Just as a recipe book organizes recipes for easy access, databases store structured information that can be retrieved when needed.
# Databases
Have you ever lost important documents or files? How did that make you feel?
# Databases
Losing data is frustrating! Databases are designed to keep data safe and organized so it’s always available.
# Databases
# Understanding Web Development
The front-end is the part of a website or application that users interact with directly. It includes everything you see on the screen, like text, images, buttons, and forms, and is built using HTML, CSS, and JavaScript.
The back-end is the behind-the-scenes part of a website or application that handles data, logic, and server interactions. It stores, processes, and manages data and makes sure everything on the front-end works smoothly. Common back-end languages include Node.js, Python, and PHP.
# Understanding Web Development
Fullstack refers to a developer who can work on both the front-end and back-end of a website or application. A fullstack developer is skilled in creating the user interface and experience (front-end) as well as handling data, server logic, and databases (back-end). This allows them to build complete, functional applications from start to finish.
# Understanding Web Development