We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including.
What is Phoenix LiveView?
As described by @darinwilson “Phoenix LiveView allows developers to add dynamic, client-side interactions to web pages, using code that runs in Elixir on the server”. This mean you could kiss goodbye to front end frameworks like React and the JS-hell that so many of us have been finding ourselves in these past few years! As you might imagine, the community is very excited about this!
For a more in-depth explanation, check out Darin’s excellent blog post on the topic.
Official URL: GitHub - phoenixframework/phoenix_live_view: Rich, real-time user experiences with server-rendered HTML
Original announcement: Chris McCord’s ElixirConf 2018 Keynote
Threads of interest:
- Discussion thread surrounding Chris McCord’s Keynote
- Phoenix LiveView blog posts
- LiveView has gone… Live!
- LiveView demos, examples, and sample apps thread! - #19
- All threads tagged with Phoenix LiveView
- LiveView demos, examples, and sample apps thread!
Screencasts & Talks:
- Getting Started with Phoenix LiveView
- Coding LiveView talk with Bruce Tate
- Chris McCord ElixirConfEU Keynote: Phoenix LiveView - Interactive, Real TIme Apps - No need to write Javascript
Podcasts of interest:
- https://devchat.tv/elixir-mix/emx-020-phoenix-and-liveview-with-chris-mccord/
- Stream episode Episode 128 - Phoenix LiveView, the Next Five Years of Elixir by ElixirTalk podcast | Listen online for free on SoundCloud
When can you get your hands on it?
Chris has said “soon after Phoenix 1.4 comes out” (and 1.4 is due out soon!). Edit: Now! Here: GitHub - phoenixframework/phoenix_live_view: Rich, real-time user experiences with server-rendered HTML
Has there been anything like it previously? Has the idea been tried and tested at all?
We’ve put both of these questions together because the answer is yes and yes! There is a similar library in the Phoenix world called Drab, which has proven to be very popular in the community. LiveView tackles the same sort of problem but from a different angle - so if Drab is anything to go by, LiveView is going to be a huge hit
There is also another similar library that was announced at ElixirConf 2018, called Texas.
There’s now another new library, called Morphling… and… another called Whistle
Where can I get more details?
Chris McCord’s keynote is currently the best place to get details, followed by the blog posts on the topic as well as Chris and José’s comments in the numerous threads that have cropped up here on the forum.
Demos
-
Chris’s ElixirConf talk
-
Tweet from Chris on Nov 5 2018:
https://twitter.com/chris_mccord/status/1059273315666350080?s=20
- Blog post and another demo: