Developer Voices

Designing The Lustre Web Framework (with Hayleigh Thompson)

Oct 2, 2024
Hayleigh Thompson is a developer working on Lustre, a web framework inspired by Elm and Erlang's actor model. She shares insights on the evolving landscape of web app architecture and the philosophical differences between frameworks like Vue and Elm. The discussion dives into the advantages of back-end-driven HTML generation and the unique session management strategies in Lustre. Listeners will learn about the intricacies of WebSocket architecture and discover innovative approaches to component nesting that seamlessly integrate client and server functionalities.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Hayleigh's Web Dev Journey

  • Hayleigh started web development by exploring the Web Audio API after learning C was too complex.
  • She transitioned from creative coding in C++ and Processing to Vue and finally settled on Elm after a functional programming class.
INSIGHT

Vue vs Elm Architectural Styles

  • Vue focuses on component-driven architecture, encapsulating markup, logic, and styles together.
  • Elm emphasizes a holistic model-view-update approach without component state, treating the entire app state as one model.
INSIGHT

Elm's State Model Limitations

  • Elm lacks encapsulated state, viewing components strict function purism critically.
  • This model struggles with complex UI elements like HTML input, which inherently hold internal state beyond Elm's central state approach.
Get the Snipd Podcast app to discover more snips from this episode
Get the app