JavaScript to Purescript A Migration Story
summary
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
chapters (38)
- 0:00Introduction
- 1:10Agenda
- 1:54Challenges
- 9:35TLD
- 10:18Criteria
- 12:15Security
- 13:50Data Types
- 17:59Data Validation
- 18:46Recap
- 19:03Validation
- 20:29Combining Validations
- 21:22TypeR Operators
- 21:47Validating
- 22:37Simple JSON
- 23:58Purescript Generic
- 26:09Any Questions
- 26:57Ajax
- 28:20User Requests
- 30:45Asynchronous Effects
- 31:41Questions
- 32:22Halogen
- 35:31Update Function
- 38:08Raise Message
- 38:31Child Components
- 39:51Type Components
- 41:22Initialize Components
- 42:31Embedding Halogen
- 43:33Integration
- 46:01FFI
- 48:53Question
- 49:49Tooling
- 50:44Type holes
- 51:09Other things
- 52:09Documentation
- 53:25Scope of Work
- 54:40Studio
- 57:04Integration Progress
- 57:32Flow
related talks
53mIntegrating Purescript and Halogen into Javascript Apps - Part 2 of 6
54mIntegrating Purescript and Halogen into Javascript Apps - Part 3 of 6
53mIntegrating Purescript and Halogen into Javascript Apps - Part 1 of 6
50mIntegrating Purescript and Halogen into Javascript Apps - Part 5 of 6
47mIntegrating Purescript and Halogen into Javascript Apps - Part 6 of 6
01h 00mIntegrating Purescript and Halogen into Javascript Apps - Part 4 of 6
47mFunctional Programming on the Web
45mPureScript (Maybe This Time We Get JavaScript Right)
