~/talk

JavaScript to Purescript A Migration Story

Talkat LambdaConf 2018 · 2018-06-03..06-05· [javascript]
links:none on file
slides:none on file

Migrating a large Angular + Redux-Saga app to PureScript and Halogen is described with concrete outcomes: PureScript 0.11.7 plus Halogen are used to embed self‑contained components into an existing Angular shell, with bi‑directional messaging, explicit data validation via Validation and simple‑json parsing, and an aVar for XSRF handling. Surprising cost: about 33,000 lines of tests compared to ~25k app lines. Result: validation and testing get simpler and integration works, but learning curve and spotty docs slow adoption.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Agenda
  3. 1:54Challenges
  4. 9:35TLD
  5. 10:18Criteria
  6. 12:15Security
  7. 13:50Data Types
  8. 17:59Data Validation
  9. 18:46Recap
  10. 19:03Validation
  11. 20:29Combining Validations
  12. 21:22TypeR Operators
  13. 21:47Validating
  14. 22:37Simple JSON
  15. 23:58Purescript Generic
  16. 26:09Any Questions
  17. 26:57Ajax
  18. 28:20User Requests
  19. 30:45Asynchronous Effects
  20. 31:41Questions
  21. 32:22Halogen
  22. 35:31Update Function
  23. 38:08Raise Message
  24. 38:31Child Components
  25. 39:51Type Components
  26. 41:22Initialize Components
  27. 42:31Embedding Halogen
  28. 43:33Integration
  29. 46:01FFI
  30. 48:53Question
  31. 49:49Tooling
  32. 50:44Type holes
  33. 51:09Other things
  34. 52:09Documentation
  35. 53:25Scope of Work
  36. 54:40Studio
  37. 57:04Integration Progress
  38. 57:32Flow
~/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.