50) ElixirConf US 2018 – Texas: Virtual DOM Library for Server-Side V-DOM. – Dan McGuire

ElixirConf US 2018 – Texas: Virtual DOM Library for Server-Side V-DOM. – Dan McGuire (@dgmcguire)

Client-side applications are expensive to make, difficult to maintain and practically impossible to account for all edge cases. We’ve gotten so caught up in the front-end framework fever that we haven’t yet taken the time to consider if there are better ways to achieve the goal of building rich user interactions.

Texas takes the Virtual DOM approach for updating the DOM with lightweight patches, but instead of calculating patches on the client, it does all the heavy lifting on the server-side bringing control back to the developer and keeping your source of truth closer to your business logic. The end result is faster initial page loads, less data over the wire, more flexibility in choosing your transport methods, graceful application degradation, and maybe the most attractive feature is the development speed increase you’ll see when you come back to the server and stop struggling with client-side code!

Audience: Intermediate, Advanced
Topics: frontend, javascript

All talks are available in the ElixirConf US 2018 Talks List or via the elixirconf2018 tag

4 Likes

so it’s like phoenix live view, except that live view send variables and template to client side and after a diff in client side it knows which part of DOM should be updated