Web 的运作原理
浏览器、服务器、HTTP、DNS 和 API,一次讲清楚。
Every time you open a page, scroll your feed or send a message, dozens of machines work together in a fraction of a second. This track shows you how: clients and servers, IP addresses and ports, DNS, URLs and HTTP, how browsers build pages from HTML, CSS and JavaScript, APIs and JSON, HTTPS, cookies and tokens, caching and CDNs, speed on slow networks, and the security rules that keep everyone safe.
You finish by following one tap in a small social app called Nova from your phone to the database and back. Nothing to install: just curiosity and a browser.
- 课时
- 19
- 时长
- 2 小时
- 级别
- 初级
本课程的内容目前为英文。
- 铜牌 可挑战
- 银牌 可挑战
- 金牌 未解锁
准备好证明自己了吗?
三场考试正等着你:铜牌、银牌和金牌。
学完后你将能够
- Explain, step by step, what happens between typing an address and seeing the page
- Read and write HTTP requests and responses, and call an API with curl and fetch
- Debug a page with your browser's developer tools
- Understand HTTPS, cookies, sessions and tokens well enough to keep users safe
- Make pages faster on slow networks with caching, CDNs and smaller downloads
- Describe how a typical web platform is built, from browser to database
学习旅程
1 第 1 单元Clients, servers and addresses
Who asks and who answers, how machines find each other with IP addresses and ports, and how DNS turns names into addresses.
0 / 42 第 2 单元Speaking HTTP
URLs, requests, methods, status codes and headers: the language browsers and servers share.
0 / 43 第 3 单元Browsers and APIs
How a browser turns HTML, CSS and JavaScript into a page, and how pages fetch JSON from APIs.
0 / 34 第 4 单元Security and signing in
HTTPS and certificates, cookies, sessions and tokens, the same-origin policy, CORS and why the server never trusts the client.
0 / 45 第 5 单元Speed and the big picture
Caching and CDNs, speed on slow networks, and how a whole web app fits together.
0 / 4