Keynote: The Road To LiveView 1.0 by Chris McCord | ElixirConf EU 2023

Code Sync · 27K views · 2023 · 1:05:33

Open on YouTube

Functional programmingWeb developmenttalkdated

Why Hacker News recommends it

Referenced as a demo of how easily Phoenix LiveView handles things like bidirectional infinite pagination with streams.

What it is

Chris McCord's ElixirConf EU 2023 keynote tracing LiveView's evolution from simple form validation to full apps, with code examples and live demos of what 1.0 will offer.

Recommended by 0 HN commenters across 0 different months, 2023 to 2024.

What Hacker News said

Cites japhib · 2023-05 · on “What's special about Erlang and Elixir?”

Here is actually a good article comparing the JVM with the BEAM: [LINK] -- And some of my own thoughts with a few more links: The runtime system that Erlang runs on, called the BEAM, is special in that it is engineered for distributed systems and fault tolerance in a way that the JVM isn't. Everything runs in an isolated "process" (the Erlang term for their special green-thread type thing). Talking to a process on another node in the cluster is exactly the same as talking to another process on the _same_ node, so it scales in a way most languages don't. Message passing and the guarantees of processes means you simply never have to worry about mutexes or race conditions in the same way you do

Cites chrismccord · 2024-12 · on “Phoenix LiveView 1.0.0 is here”

Will keep this in mind! My ElixirConfEU keynote just used limit/offset pagination, but shows how easy it is to do bidirectional infinite pagination. Streams allows you to keep a virtualized infinite list in the DOM without keeping the giant collection around on either client or server, example: [this video] This demo doesn't update the URL to keep state (but push_patch would make that trivial). I'll think about more complex examples for cursor pagination, but the solution to massive collections (thousands of entries) is going to be stream + limit

Critical zoogeny · 2023-11 · on “Switching to Elixir”

> Liveview is incredibly straightforward. I don't agree. One of the keynotes from the 2023 ElixirConf was Chris McCord (one of the principle developers of LiveView) describing how it is almost 1.0 [1]. One thing that made me laugh a bit was him emphasizing how much Javascript he's had to write (he was referencing the fact that there is an internal community meme that you can achieve such incredible behaviors without writing Javascript ). His quip was "because I wrote it all". I wonder if you asked him "was it straightforward?" what do you think his answer would be? There are a lot of videos of people talking about how they managed to write something in LiveView. Here is one from 2022 "How I