# Introduction to WebSockets & Server-Sent Events — WebSockets & Server-Sent Events

Source: https://www.geekswithgeeks.com/en/realtime-web/realtime-web-01

> Apply foundations 1 in WebSockets & Server-Sent Events.

## Understand Introduction to WebSockets & Server-Sent Events

In **WebSockets & Server-Sent Events**, connect the problem, constraints, and measurable outcome before choosing an approach.

## See the workflow

Understand the context, make a focused change, verify the result, then improve.

![A four-stage learning workflow.](assets/figures/realtime-web/section-1-map.svg) — Figure 1.1 — Understand, act, verify, improve.

## A useful comparison

This is like a route plan: every step should lead to a checked destination.

Check your reasoning.

**Quiz:** What comes before choosing an approach?

- [x] A clear goal and constraints.
- [ ] An unverified copy.
- [ ] No measurement.

*Answer:* A clear goal and constraints.. Evidence makes decisions reviewable.
