AstonJ

AstonJ

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 · GitHub
Original announcement: Chris McCord’s ElixirConf 2018 Keynote

Threads of interest:

Screencasts & Talks:

Podcasts of interest:

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 · GitHub

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 :003:

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 :smiley:

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

https://twitter.com/chris_mccord/status/1059273315666350080?s=20

  • Blog post and another demo:

First 10 of 73 Posts Switch mode

niccolox

niccolox

the pragprog phx 1.4 book published date is 10th of November. 8 days

I’d guess its all going to drop together; book, phx 1.4, live view

personally, I’ve been tracking phx head for maybe 6 months, so LiveView is the NEXT BIG THING

kind of revolutionary actually, Websockets is an entirely new paradigm from http

LostKobrakai

LostKobrakai

Live view is not going to drop in a few days. Chris clearly said in his elixir conf talk, that once the book and phoenix 1.4 is out he can start further research into live view. By now it’s probably just a small prove of concept implementation far from a publishable state.

AstonJ

AstonJ OP

I think he’s just excited that it means LiveView is what may be coming next… he’s not the only one:

:lol:

niccolox

niccolox

oh, I thought LiveView was going to be released at the same time..

yawaramin

yawaramin

If you want to try out a similar concept to LiveView, maybe consider trying out Drab?

AstonJ

AstonJ OP

I’m not 100% sure now, but I think Chris’s exact words were “soon after Phoenix 1.4 comes out” :smiley:

niccolox

niccolox

I only listened to the vid 1 1/2 times, either way, its a big change

I don’t see LiveView in the book at all, except for

“Unfortunately, when the confluence of the development of a major new feature like LiveView coincides with ElixirConf and Phoenix 1.4…”

so, I figure its not going to be a full release of LiveView, or if it is, its the start of a journey

the http + ws journey has just begun

:waxing_crescent_moon:

niccolox

niccolox

I’ve looked into Drab and Texas and get the idea

more interested in the new standard implementation from the founders

slashdotdash

slashdotdash

AstonJ

AstonJ OP

That looks amazing - lightening fast!! Can’t wait to try it :003:

Where Next? Top

Trending in Wikis Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement