~/talk

SOLID JavaScript

Talkat UtahJS Conf 2018 · on Friday, 2018-09-14· [javascript, software-architecture]
links:none on file
slides:none on file

Applies SOLID to real JavaScript: shows a React component that fetches data in-component and how to pull API code out so components only render, demonstrates prototype-based extension by creating Task and UrgentTask and copy prototype to extend rather than modifying originals, uses the printer job story to justify a facade over legacy code, and recommends passing save/handlers in to follow dependency inversion. Examples compile and run in the talk, proving these adaptations make front-end code easier to maintain.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:35SOLID principles overview
  3. 6:58Single responsibility in JavaScript
  4. 12:06Open/closed principle explained
  5. 20:51Liskov substitution principle
  6. 29:25Interface segregation in JavaScript
  7. 35:08Dependency inversion simplified
  8. 36:57Applying SOLID to existing code
~/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.