~/talk

Scaling large Angular apps

Talkat NDC Oslo 2016 · 2016-06-08..06-10· [angular, frontend-architecture]
slides:none on file

Starts with ES2015/TypeScript and a generator setup (yo gulp angular) to avoid brittle folders, switches Angular 1.5 to component-based code and controllerAs (no $scope), builds a single API service on restangular with request/response interceptors to attach tokens, start/stop a loader and auto-handle 401/422 validation errors, and uses NG‑Mock to write concise tests. Notes apps often hit APIs 30–100 times and suffer from too many watchers; fixes include disabling debug info and using app‑shell + service workers. Angular 2 adds TypeScript, Angular CLI, Shadow DOM, web workers, AOT and tree‑shaking.

AI-written summary · about

  1. 0:00Scaling large Angular apps
  2. 1:18Let's talk about JavaScript
  3. 6:091.3 TypeScript
  4. 9:05Head start
  5. 11:443.1 Get rid of plain Controllers
  6. 15:173.3 Components vs Directives
  7. 16:283.4 Component isolation
  8. 20:31API calls
  9. 22:144.1 Base configuration
  10. 24:024.2 Request Interceptors
  11. 25:044.3 Response Interceptors
  12. 26:004.4 Error Interceptors
  13. 29:254.6 Summary
  14. 29:49Performance
  15. 30:285.1 Watchers
  16. 34:325.3 Caching
  17. 35:225.4 Production Mode
  18. 37:385.5 Service Workers
  19. 40:45Testing
  20. 41:04Writing tests flexibility to optimize without breaking functionality
  21. 44:287.2 Component Based Architecture
  22. 46:337.3 Lazy Loading
  23. 47:197.4 Web Worker support
  24. 48:227.5 Static Template Compilation
  25. 49:267.5 Tree Shaking
  26. 50:147.6 Service Side rendering
  27. 52:29Closing thoughts
~/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.