Build Life-Saving Apps with Functional DSLs in F#
summary
A production-ready dispatcher UI gets modeled as a strongly typed F# DSL using computation expressions to let non-developers configure layouts, panels and panel-specific options; the DSL serializes to JSON, is served as a shared record type and uses SignalR-powered UI messages (F# discriminated unions) to sync client and server. Front end compiles with Fable compiler and Elmish; C# interop works but needs care around lists and unions. The system runs in production with careful team agreements.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:03Emergency system context
- 3:00Requirements and challenges
- 8:38Domain specific languages
- 12:04F# computation expressions
- 17:35Demo: creating a DSL
- 22:44Application configuration
- 25:39Workflow and data flow
- 26:42Demo: UI configuration
- 32:13DSL benefits and examples
- 36:41F# and C# interop
- 42:35Fable compiler and Elmish
- 46:40Demo: Fable and Elmish
- 53:10Conclusion and Q&A
related talks
46mFunctional programming in F# Fad or Fabulous
52mF# in the real world
01h 00mF# in the Real World
54mFunctional Web Programming in .Net with the SAFE Stack
01h 14mFunctional Programming in F#: Fad or Fabulous?
43mWrite your own domain specific language with F#
43mFunctional UI, Functional Apps
55mFunctional web applications using F# and suave
