~/talk

Modularity Matters

links:none on file
slides:none on file

Explains concrete modularity choices for client JavaScript: use object literals, the module pattern and the revealing module pattern to get private state and controlled public APIs, add privileged getters/setters for extensibility, use a mediator (optionally with a facade) for loose coupling, and pick a packaging system — CommonJS (synchronous, Node/browserify), AMD (RequireJS) (asynchronous), or UMD for portability — with ES6 modules and transpilers like trencio and Square’s tool emerging as the future.

AI-written summary · about

  1. 0:00Transitioning to web dev
  2. 2:29Need for modular design
  3. 3:54JavaScript module patterns
  4. 9:44Decoupling with patterns
  5. 10:43Module systems and formats
  6. 15:58The future with ES6 modules
~/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.