Skip to content

Instantly share code, notes, and snippets.

@jwright
Last active January 26, 2024 20:35
Show Gist options
  • Save jwright/25cbe84ee9ad4e0ca8582d52e80f9f56 to your computer and use it in GitHub Desktop.
Save jwright/25cbe84ee9ad4e0ca8582d52e80f9f56 to your computer and use it in GitHub Desktop.
Talk abstract for Phoenix + LiveView

Diffs Heard Over the Wire : The Magic of Phoenix and LiveView

Abstract

The Phoenix Web Framework, built in Elixir, is a web framework that hopes to stear away from JavaScript. Instead, it comes with a minimal JavaScript library that hooks into the frontend and only sends optimized diffs over stateful websockets. This results in very fast DOM updates and eliminates the need for complex frontend libraries and build pipelines within Elixir and Phoenix web applications.

Elixir is a functional programming language that is built with concurrency in mind. It has the ability to spin up lightweight processes with small memory footprints that can communicate with each other and have very low scheduling overhead. These stateful processes make for a perfect pairing with concurrent websocket communication. All of this alongside Phoenix ends up creating a very fast user experience and a very excellent developer experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment