LiveView Version “0.18.x”. Phoenix 1.7. NOTE! This version of the LiveView content is under development. All of the videos are in, and the book has been updated. We are also working on the itinerary . The updates will tentatively be completed by April 15, 2023.
The LiveView project has swept through the Elixir community like wildfire. It takes traditional web development, which focuses on functions that look up back-end data and build text-based HTML markup, and flips the model on its head. Instead, LiveView lets a programmer express a data structure, like a list of books or users, in memory. Then, the user renders the data as a string, changes that data structure via events, automatically rendering any data structure changes.
The end result is that the developer’s focus shifts from things that are difficult, like managing concurrency or IO, to something that programmers are good at, writing small functions to change state.
When Chris McCord - creator of Phoenix - moved from a Ruby consultancy to the Elixir community, he was looking for the kind of infrastructure that would let something like LiveView flourish. He wrote a book called Metaprogramming Elixir, and then shifted his attention to the Phoenix framework. After years of building effective infrastructure with startling scalability and reliability, he was finally ready to attack LiveView.