Collaborative Music with Elm and Phoenix
summary
Builds a collaborative music editor using Elm frontend and Phoenix channels with Web Audio via ports and an elm-phoenix-socket library. Per-song state lives in a GenServer and the channel serializes access by replacing entire song state on updates, which is simple and works for small songs but not for high-frequency games. Demo runs and shows live edits syncing, tests exist, and the UI uses union types to make the wizard state impossible to represent invalidly.
AI-written summary · about
chapters (11)
- 0:00Start
- 2:01FUNDAMENTALS AND HISTORY
- 2:49CRUD
- 3:47IT'S THE ABSTRACTION!
- 5:15STUPID MOTIVATING STORY
- 5:45SMALL BUG
- 6:10LOL NOT A DISTRIBUTED SYSTEM
- 11:13A HIGH LEVEL OVERVIEW
- 14:10DEMO INTERLUDE
- 18:51UPDATE Msg - Model - Model
- 39:19TYPES MAKING INVALID THINGS UNREPRESENTABLE
related talks
23mBuilding a real-time collaborative editor with Phoenix
54mWriting a MMORPG game in Elm on both client and server
41mFrom single player to multiplayer-building realtime collaborative experiences with Flutter
35mBuilding Multiplayer Games with Phoenix and Phaser
53mA peek in to Elm Architecture
46mBuilding a Graphical IDE in Elm/Purescript (...)
42mComposing Interactive Apps With Zelkova
47mElm or how I learned to love front end development
