~/talk

IOC + Javascript

Talkat SpringOne2GX 2012 · 2012-10-01..10-03· [javascript, frontend-architecture]
speakerdeck:briancavalier
name:John Hann
links:none on file
slides:none on file

Argument: bring dependency injection, AMD modules and promises into browser and server JavaScript to manage large apps. Demonstration assembles a Monty Hall app with KujoJS and the wire.js container, using AMD/UMD/CommonJS loaders (curl/require), meld-style AOP, when-style promises and build-time transforms. The project grows to about 300 JavaScript modules and six HTML pages, uses per-view test harnesses and works in both browser and Node, improving testability, refactorability, composability and team-scalability.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 3:11Why IOC in JavaScript
  3. 8:17IOC container overview
  4. 13:32AMD module definition
  5. 24:19AMD in practice demo
  6. 27:51AMD loaders and globals
  7. 36:25CommonJS module format
  8. 40:20Compiled to AMD concept
  9. 42:15AMD to CommonJS demo
  10. 48:58Dependency injection with AMD
  11. 57:09DOM as first-class citizen
  12. 1:05:13AOP and event handling
  13. 1:15:18Asynchronous operations with promises
  14. 1:20:52Code organization benefits
  15. 1:27:41Testing and collaboration
~/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.