Implementing this programming model will allow us to create applications more responsibly and efficiently. This reduces and streamlines the workload for the team.Īt SmartLogic, we're training as a team and looking forward to deploying Phoenix LiveView into production. We've come to recognize that there is an entirely new class of applications that you can build with LiveView that would otherwise be impractical anything that is constantly refreshing and displaying new information or fast-paced interactions demanding a quick response.Īdopting LiveView optimizes the data going back and forth and eliminates unnecessary steps. Ultimately, we ask ourselves if this is best for our customers. Programming with LiveView requires less bandwidth and rendering of assets, and it simplifies the APIs. This technology expands the possibilities of what we can implement and design. Elixir allows us to create stateful applications in which the user or server can trigger an update in information. LiveView sends the minimum amount of info via WebSockets. LiveView is a departure from some of the overly complex systems for communicating data, from everything being HTML to the nightmare of JavaScript to JSON APIs. LiveView allows developers to solve a problem once and reuse components, which is more efficient and seamless. LiveView aligns with other tools, like Figma and Tailwind, and simplifies the implementation of UX design elements and accessibility features. The industry is evolving, and we see more cohesive communication between front-end and back-end development. Today, there are more resources and examples available. As programmers like Chris McCord and Miki Rezentes give talks on LiveView, adoption becomes more practical. LiveView is maturing, and the wealth of information and potential benefits are promising. ![]() Our approach was to wait and see if it had legs and traction before jumping in. Since it hadn’t been released, there was also a concern that the public API might change drastically before version 1.0. We were excited to dip our toes in, but it was challenging to research and solve problems. When Phoenix LiveView was first introduced, there was a lack of resources available. Implementation without a cohesive strategy could easily result in a single point of failure. Shifting to a new skill requires everyone on the team to invest time in education. When new methods emerge, it's best to approach with cautious curiosity. In an industry where new features and methods emerge constantly, we need to be discerning with our energy. LiveView uses a persistent WebSocket connection, creating an instantaneous reaction to user events in an application. What is Phoenix LiveView?Īt the tail end of 2018, Chris McCord introduced the Phoenix LiveView library as a simplified programming model with which you can create interactive, real-time apps without writing a single line of JavaScript. His speech shifted our perspective and inspired us to adopt LiveView for future projects at SmartLogic. ![]() At ElixirConf 2022, Chris McCord's keynote presentation highlighted updates, features, and improvements of Phoenix LiveView.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |