Wrapping Up
LiveView allows you to write real-time interfaces with little to no JavaScript. LiveView builds on the power of Elixir, Phoenix Channels, and Phoenix PubSub to provide a stable and efficient base. With LiveView, you express your user interface and behavior in a declarative format. This would normally be difficult for real-time interactive applications that span multiple languages, but LiveView makes it feel intuitive. LiveView’s unidirectional data flow, combined with its declarative model, makes your applications clearer to read, extend, and maintain.
We rewrote the real-time product page from earlier chapters using LiveView. Amazingly, we didn’t change our application’s business logic at all. We wrote a LiveView that renders the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access