~/talk

Clear Architecture in the small

Talkat JSUnconf 2019 · 2019-04-13..04-14· [frontend-architecture]
links:none on file
slides:none on file

Argues that extracting a pure model from UI yields tiny, testable business logic and shows a working Snake game wired to both a React browser view and a terminal view. Uses TypeScript, React, a seeded RNG for reproducible placement and a DDD-like API such as moveUp/moveDown so tests can “play the game” end to end and assert properties like score increments and game over. Reports that simpler, higher-level tests increase team test adoption and maintainability.

AI-written summary · about

  1. 0:00Start
  2. 2:24Let's Play
  3. 2:41Outline
  4. 3:28Presentation VS Model
  5. 5:06A Checkout Model
  6. 7:34The Snake Model
  7. 9:40The Tale of a Snake View
  8. 10:28The Snake View
  9. 13:18Testing
  10. 20:49Learnings
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.