~/talk

JavaScript Design Patterns

TalkinItalianat Voxxed Days Ticino 2018 · on Saturday, 2018-10-20· [javascript, frontend-architecture]
links:none on file
slides:none on file

Shows idiomatic JavaScript design patterns and concrete implementations: an Option/Setup pattern that merges defaults using Object.assign or jQuery.extend and TypeScript for compile-time checks; a small delegate utility using Element.matches for event delegation (demo toggles a class); replacing long switch statements with a lookup map (Map or plain object); and a factory-as-map that returns constructors by key. Also lists required browser APIs and polyfills and points out where boilerplate or copy‑paste code can be eliminated.

AI-written summary · about

  1. 0:00JS design patterns
  2. 4:19Option setup pattern
  3. 19:54Event delegation
  4. 31:46Quick lookup
  5. 42:11Factory method
  6. 49:01Resources
  7. 51:49Q&A
~/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.