Workbench / Volume 2 Companion: The Web Frontend
Volume 2 · Companion
Volume 2 Companion: The Web Frontend
Everything around each chapter that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it gets wrong or simplifies, real open-source code, debugging drills, interview questions with how to approach them. Where the chapter or the chapter exercises already cover something, this page says so and points there instead of repeating it.
What each chapter's companion holds
A section that the chapter or the Chapter Exercises already covers is marked Already covered with a pointer, and only what's missing is added.
How to use the companion
- Read the chapter first. The companion assumes you have, and points back to its sections by name.
- Start with the concept map: it shows how the chapter's ideas connect, and where each one goes deeper.
- Do the drills and the interview questions before opening answers. Write your answer first; the hints unlock after that.
- Tick a section Done only when you could do it again without help.
Mastery levels
How to use it: open a chapter's companion after reading the chapter once. Try each drill, review and interview question before opening its hints and answer; tick a section Done when you could do it again without help. Every quoted output was produced by running the code on a Linux lab machine (GCC 13, Java 21, Go 1.24, Rust 1.97, Python 3.13); source excerpts are quoted from pinned release tags.
Contents
- V2·12The Web PlatformCompanion to Volume 2, chapter 12: how addresses, the document trees and the browser's security model connect; new angles (a URL as a postal address…18 min
- V2·13HTMLCompanion to Volume 2, chapter 13: how document structure, built-in semantics and forms connect; new angles (HTML as a contract with three readers, a…17 min
- V2·14CSSCompanion to Volume 2, chapter 14: how the cascade, layout and responsive CSS connect; new angles (the cascade as a knockout tournament, specificity…19 min
- V2·15JavaScriptCompanion to Volume 2, chapter 15: how the language, execution and the runtime connect; new angles (closures as a tiffin box packed at home, the…18 min
- V2·16TypeScriptCompanion to Volume 2, chapter 16: how the basics, describing values and type-level programming connect; new angles (the checker as a building…17 min
- V2·17The DOM and Browser APIsCompanion to Volume 2, chapter 17: how the DOM, networking and storage, and real-time APIs connect; new angles (the DOM as a live switchboard…16 min
- V2·18Browser InternalsCompanion to Volume 2, chapter 18: how loading, the rendering pipeline and the engine connect; new angles (the pipeline as a print shop, invalidation…15 min
- V2·19Frontend NetworkingCompanion to Volume 2, chapter 19: how HTTP itself, caching and state, and cross-origin access connect; new angles (idempotency as a lift button…15 min
- V2·20AccessibilityCompanion to Volume 2, chapter 20: how foundations, perceiving and operating, and ARIA connect; new angles (the accessibility tree as a radio script…13 min
- V2·21UI ArchitectureCompanion to Volume 2, chapter 21: how components, design systems and code organisation connect; new angles (components as a kitchen's stations…14 min
- V2·22ReactCompanion to Volume 2, chapter 22: how React's fundamentals, hooks and rendering model connect; new angles (render as a waiter writing an order…17 min
- V2·23AngularCompanion to Volume 2, chapter 23: how Angular's templates, dependency injection and reactivity connect; new angles (an injector as a building's…16 min
- V2·24Full-Stack FrameworksCompanion to Volume 2, chapter 24: how rendering strategies, frameworks and production concerns connect; new angles (CSR as flat-pack furniture, SSR…14 min
- V2·25State ManagementCompanion to Volume 2, chapter 25: how classifying state, client-state tools and server state connect; new angles (state kinds as a kitchen's…13 min
- V2·26Frontend TestingCompanion to Volume 2, chapter 26: how test strategy, techniques and specialised testing connect; new angles (test levels as a kitchen's tasting…14 min
- V2·27Frontend PerformanceCompanion to Volume 2, chapter 27: how measuring, loading and running connect; new angles (LCP as the main course arriving, INP as how long the…13 min
- V2·28Frontend SecurityCompanion to Volume 2, chapter 28: how injection defences, cross-origin protections and identity connect; new angles (CSP as a guest list, Trusted…13 min
- V2·29PWAs, Workers and WebAssemblyCompanion to Volume 2, chapter 29: how service workers, offline storage, workers and WebAssembly connect; new angles (a service worker as a…14 min
- V2·30Build Tooling and MonoreposCompanion to Volume 2, chapter 30: how packages, bundlers and monorepo tools connect; new angles (a lockfile as a bill of materials, hoisting as a…12 min
- V2·31Frontend DeploymentCompanion to Volume 2, chapter 31: how hosting, the edge and releases connect; new angles (a hashed asset as a book's ISBN, a release switch as a…12 min
- V2·32Frontend ObservabilityCompanion to Volume 2, chapter 32: how errors, field performance, traces and releases connect; new angles (RUM as a hospital's ward rounds against…11 min
- V2·33Frontend ProjectsCompanion to Volume 2, chapter 33, the volume's projects: how the eight projects build one product in layers; new angles (a portfolio as a lab…10 min