We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Programming Phoenix LiveView • Sophie DeBenedetto, Bruce Tate & Steven Nunez
Discover the power of Phoenix LiveView, a real-time web development framework that leverages OTP for concurrency and fault tolerance, and Elixir macros for code generation, rendering static HTML, and WebSocket communication.
- Live View is a real-time web development framework that is incorporated into the Phoenix web development framework, which is Elixir’s web development framework.
- It allows you to build single-page web applications with a purely server-side mindset, handling the hard parts of client-server communication for you.
- Live View uses OTP under the hood, allowing you to get massive amounts of concurrency and fault tolerance for free.
- Elixir macros are used to generate code, giving you the opportunity to understand how things work and change and manipulate things.
- The framework handles SEO concerns by rendering as static HTML initially and then updating the page with persistent bi-directional WebSocket communication.
- Live View Supports file uploads and can handle a large amount of data by using streams.
- The book covers how to build a Live View application, with a focus on beautiful design and abstraction.
- Generators are used to create code, allowing you to learn by seeing how the app is architected.
- The framework has made significant changes over time, moving from an early version with a focus on stateless components to a more robust system with support for stateful components.
- The authors believe that beautiful applications depend on beautiful technology with beautiful abstractions.
- The book is building on the idea of focusing on patterns and abstractions, rather than just teaching how to use the framework.