5 ms·
There is something like that the Elixir web community is trying to do with Liveview, Texas, Morphling and Whistle. Several competing libraries doing the same th
by anthony_doan 8y ago
There is something like that the Elixir web community is trying to do with Liveview, Texas, Morphling and Whistle. Several competing libraries doing the same thing I believe, I've only seen Texas and Liveview in action.
The whole point, iirc, is to manipulate the DOM on server side and push those changes via a websocket. So the DOM manipulation is on server side and the code is server side language Elixir.
There was a demo for Texas and Liveview which show pretty good performance. I'm not sure if it is good enough performance but it looks promising.
Video for Texas:
https://www.youtube.com/watch?v=NWgwUKfR8Xg https://www.youtube.com/watch?v=NWgwUKfR8Xg
Video for LiveView:
https://dockyard.com/blog/2018/09/12/liveview-project-at-elixirconf-2018 https://dockyard.com/blog/2018/09/12/liveview-project-at-eli...
- mercer 8y agoI've played around with sending html strings via Phoenix channels and using morphdom to change only what needs to be changed. I'm quite happy with the results, even when sending an entire page for every significant change, and can't wait for LiveView to be released (estimated later this month, IIRC).