Functional in the front rails in the back
summary
Claim: Elm compiles to JavaScript, prevents runtime exceptions with its type system, and integrates into an existing Rails app. The talk shows a working shopping cart demo backed by a Rails API, uses Elm’s beginner_program → html.program path, wires HTTP commands and subscriptions, and integrates third‑party JavaScript like Stripe integration. A rails gem for asset compilation is maintained, it works with Rails 4/5, and the demo on GitHub runs successfully.
AI-written summary · about
chapters (18)
- 0:00Intro
- 0:35What is elm?
- 3:08No Runtime Errors
- 8:21Batteries Included
- 8:49Low Barrier to Entry
- 10:12Elm Syntax (Literals)
- 11:06Elm Syntax (List)
- 12:39Elm Syntax (Record)
- 13:51Elm Syntax (Functions)
- 14:32ELM Syntax (Type Annotation)
- 15:46Elm (Currying)
- 16:53ELM Syntax (Type Alias)
- 18:02ELM Syntax (Union Types)
- 26:13Elm + Rails
- 28:53Html.beginner Program
- 32:53The Update
- 33:20The View
- 36:37Update with commands
related talks
39mDeveloper Happiness on the Front End with Elm
47mElm or how I learned to love front end development
26mElm - Frontend with Guarantees
50mBeyond JavaScript Frameworks: Writing Reliable Web Apps With Elm
54mBeyond JavaScript Frameworks: Writing Reliable Web Apps With Elm
41mWriting Reliable Web Apps With Elm
01h 28mFunctional Programming for the Web with Elm
56mSimplifying Web App Development With Elm and Functional Programming
