We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Optimizing Real-Time Web Apps with Phoenix LiveView Streams
319
clicks
Source: youtube.com
In this presentation from GOTO Copenhagen 2023, Sophie DeBenedetto, a Staff Software Engineer at GitHub, showcases the capabilities of Phoenix LiveView, a declarative framework for real-time web development. The talk emphasizes how LiveView simplifies real-time client-server interactions via WebSockets, focusing on its newly introduced streams API. According to Sophie, LiveView allows developers to build lightning-fast, real-time web apps by handling tedious aspects like WebSocket communication, OTP process management, and JavaScript integration, allowing the developers to focus on unique application logic and functionality. She provides an in-depth look at how LiveView manages large datasets on the client side, using a practical example to demonstrate these functionalities. The presentation includes a live coding session showing how to insert, update, and delete stream data efficiently, backed by insights into LiveView's internal workings and its declarative nature. Sophie also touches upon the seamless integration of custom JavaScript for more sophisticated functionality, such as infinite scroll implementations.
Related posts
© HashMerge 2024