Repository navigation
Description
Chris McCord (creator of Phoenix) recently demoed an "in-development" feature called "LiveView":
https://dockyard.com/blog/2018/09/12/liveview-project-at-elixirconf-2018

https://youtu.be/Z2DU0qLfPIY (seriously, watch it!)
It has the potential to be game-changing in how Realtime Apps are built! 🚀
seriously, this will leave MetorJS for dust and make most ReactJS apps obsolete! (cc: @rub1e ... 😉)
However is still very much "pre-alpha" ... ⏳
As it comes from Chris, it will almost certainly gain instant adoption in the Elixir/Phoenix Community!
(beyond the fact the functionality is incredible, the "author effect" will play a huge role in traction!)
How can we Use it?
How can we proactively support it in our "new stack" #67 so that we can easily build realtime apps without writing any JS code! 😮
Note: I'm aware of the limitations (an internet connection is required for server-side re-rendering) so it won't be applicable to all of our apps, but it's perfect for building "Auth" (user registration, login & reset-password) which requires a connection by definition. Another awesome usecase is "Admin" where seeing data being updated/edited in real-time would be sick!
Question: Does this Replace autoform?
On the surface LiveView "overlaps" with autoform which automatically renders forms based on Ecto Schema. However as epic as LiveView looks, we are building autoform now (not sitting on our hands waiting for LiveView to be "stable" ...)
https://github.com/chrismccord doesn't have anything resembling "LiveView" in his recent GitHub history ... so it looks like it isn't available yet ... 🙄
I say we "keep an eye" on this and a soon as LiveView is in a useble state we investigate it.
Related to #67 (extending PETE for rapid prototyping standards-compliant beautiful apps!)
Activity
nelsonic commentedon Nov 9, 2018
This ElixirForum thread is the best place to "watch" this:
https://elixirforum.com/t/phoenix-liveview-info/16569
SimonLab commentedon Nov 10, 2018
This looks great! I can see also how it can replace some Elm code.
We could also see how to adapt autoform to be able to use it with LiveView
nelsonic commentedon Nov 13, 2018
@SimonLab I can see us using LiveView for all the "online" code
and then enhancing our apps (PWAs) with Offline Capability wherever we need it.
For "Admin" views where being online is essential it's going to be sweet! 🍭
SimonLab commentedon Nov 23, 2018
It looks like liveView is doing some progress:
SimonLab commentedon Dec 12, 2018
"Phoenix.LiveView: Interactive, Real-Time Apps. No Need to Write JavaScript."
https://dockyard.com/blog/2018/12/12/phoenix-liveview-interactive-real-time-apps-no-need-to-write-javascript
nelsonic commentedon Dec 12, 2018
@SimonLab exciting! 🎉
When this is released it's going to be amaze!
nelsonic commentedon Jun 4, 2022
GOTO: https://github.com/dwyl/phoenix-liveview-counter-tutorial