~/talk

Effective Dependency Management in JavaScript

Talkat Fluent Conference 2015 · 2015-04-29..05-01· [javascript, developer-experience]
links:none on file
slides:none on file

Hundreds of interdependent JS files cause breakage when one page forgets a file; this talk lays out five concrete rules: declare dependencies, shim third‑party libs rather than editing them, keep definitions separate from executions so modules are reusable and testable, handle loading asynchronously with callbacks (dependency managers like browser IFI do this), and avoid globals by returning private variables. Examples include a counter split into definition + attach code and shimming plugins that expect Angular UI.

AI-written summary · about

  1. 0:00Start
  2. 1:10Dependencies are always declared
  3. 1:57Trait #2 3rd party code is shimmed
  4. 2:41Trait 43 Definitions are separate from executions
  5. 3:25Dependencies are loaded asynchronously
  6. 4:11Trait #5 Modules do not rely on globals
~/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.