Lesson 04 Modern Web Stack
Theme:
Lesson 04 · Slide 1

Lesson 04 — Modern Web Stack

Frontend / Backend / API — what each is, why apps split that way.

IT Landscape Module 2

Lesson 04 · Slide 2

What is a "web app"?

A website that does something — not just shows you something.

Examples: Gmail, Google Docs, Notion, Spotify Web Player, Slack.

Contrast: a restaurant's menu page. That's a brochure — you read it and leave. A web app remembers you, accepts your input, talks back.

Lesson 04 · Slide 3

The 3-tier model in one diagram

Client

Browser
(or mobile app)

Server

Backend
(your app code)

Database

Where state
lives long-term

Client  —  HTTP request  →  Server  —  SQL query  →  Database

Almost every app on the internet is some flavor of this.

Lesson 04 · Slide 4

Tier 1 — Frontend (the browser)

The frontend = everything the user actually sees and clicks. Lives in the browser. Sends HTTP requests when it needs data.

Note: "frontend" is sometimes called "client-side" — same thing.
Lesson 04 · Slide 5

Tier 2 — Backend (the server)

The backend is the only thing trusted to read or write the database. The client never talks to the DB directly.

Lesson 04 · Slide 6

The handshake between them — APIs

An API is a contract: "ask me this way, I'll answer this way."

Most modern APIs speak REST (over HTTP, JSON-shaped) or GraphQL (single endpoint, you specify the shape).

Illustrative one-liner — you do not need to run this:

fetch('/api/users/42')  // server returns { "id": 42, "name": "Ada" }
Lesson 04 · Slide 7

Real example — a modern site under the hood

What happens when you open notion.so:

  1. Browser downloads ~100 KB of JavaScript (a React app).
  2. That JS calls /api/v3/getSpaces.
  3. Backend hits a Postgres database.
  4. Backend returns JSON.
  5. React renders the sidebar — the page lights up.

Five steps. Three tiers. Same shape as Gmail, Slack, your bank.

Lesson 04 · Slide 8

Frontend frameworks you'll hear named (as of 2026)

NameFromWhat it's for
ReactMetaBiggest mindshare
VueIndependentLightweight alternative
SvelteIndependentCompiles away — small bundles
AngularGoogleEnterprise, opinionated
Next.jsVercelReact + a backend bundled
Astro / SolidJSIndependentNewer, niche

Most teams pick one and stick with it for years.

Lesson 04 · Slide 9

Backend frameworks you'll hear named (as of 2026)

LanguageCommon frameworks
PythonDjango, FastAPI
Node.jsExpress, NestJS
RubyRails
JavaSpring Boot
C#ASP.NET
PHPLaravel
Gonet/http + chi / gin
ElixirPhoenix

Many roads up the same mountain.

Lesson 04 · Slide 10

Static sites vs dynamic apps

Static

Built once, served to all.

  • Blogs
  • Documentation
  • Marketing pages

Tools: Hugo, Jekyll, Astro

Dynamic

Rendered per user / per request.

  • Dashboards
  • Social feeds
  • E-commerce

Tools: anything with a backend

Lesson 04 · Slide 11

Mobile fits in too

All three usually talk to the same backend + same API as the web app.

Lesson 04 · Slide 12

What you'll see on a job description

You now have the decoder ring. Frontend, backend, API, database — you can place every one of these words.

Lesson 04 · Slide 13

Recap

Coming up: Lesson 05 — what writing code actually looks like in 2026.
1 / ?