kokolegorille

kokolegorille

Chris McCord ElixirConfEU Keynote: Phoenix LiveView - Interactive, Real TIme Apps - No need to write Javascript

One resource for liveview…

Most Liked

mindok

mindok

I agree maz, and it’s also a great way to interactively understand pretty well any code you’re working on - it’s almost a bio-feedback developer experience…

BTW, if anyone is wondering how to enable viewing of payload to the browser (I know someone asked previously, and it featured pretty heavily in the video), it isn’t yet documented but there’s an option in the LiveSocket constructor in app.js. By default it looks like this:
let liveSocket = new LiveSocket("/live")
but if you update that line to:
let liveSocket = new LiveSocket("/live", {viewLogger: debug})
the browser console will get all the debug messages…

EDIT: It’s probably obvious to those of you who live and breathe JS, but I avoid it like the plague… you need to ensure you import the debug function in order to attach it:
import {LiveSocket, debug} from "phoenix_live_view"

maz

maz

I think LiveView is probably one of most visual ways to teach Elixir beginners about GenServer.

rodrigues

rodrigues

Great talk, the demos ran so nice on a conference room wifi, but what I was really surprised was to see how smooth it is to test live views! Rich interaction testing with no browser needed is such a privilege. :fire::clap:t3:

liberza

liberza

This has been well-worth the wait. Not only does it seem like the “right” way to do things for the middle-ground between static pages & SPAs, it will allow devs to thrive in that middle-ground without getting sucked into the quagmire that is today’s state of JavaScript development. I’ve mostly avoided JS in favor of backend work in recent years, and I’m excited to see this flip some tables.

Lawrence_elixir

Lawrence_elixir

Chris McCord Keynote: Phoenix LiveView - Interactive, Real TIme Apps - No need to write Javascript

Abstract
Chris McCord is a programmer with a passion for science and building things. He spends his time crafting the Phoenix Framework, working with the fine folks at DockYard, writing books like Metaprogramming Elixir, and teaching others the tools of the trade.
Github: chrismccord
Twitter: @chris_mccord

Learn more about ElixirConf: www.elixirconf.eu

ElixirConf EU
Website: www.elixirconf.eu
Twitter: www.twitter.com/elixirconfeu

Where Next?

Popular in Talks Top

axelson
by @SophieDeBenedetto LiveView’s reliance on server-rendered HTML and leveraging of bi-directional communication over WebSockets means ...
New
ElixirConf
ElixirConf: ElixirConf 2023 - Tim Gremore - Replacing React: How Liveview solved our performance problems Comments welcome! View the <sp...
New
axelson
ElixirConf 2017 - Building Realtime Mobile Apps with React Native and Elixir - Osayame Gaius Obaseki Buildin...
New
axelson
We’re now on the day 2 talks! ElixirConf US 2018 – Understanding Elixir’s (Re)compilation – Renan Ranelli Elixir’s code...
New
Lawrence_elixir
@keathley - Senior Engineer Bleacher Report and Elixir Outlaws presenter Talk: Building Resilient Systems with Stacking Talk in three w...
New
CodeSync
Code Sync: Celebrating the 10 Years of Elixir | José Valim | ElixirConf EU 2022 Comments welcome! View the #code-sync and #elixirconf-e...
New
axelson
ElixirConf US 2018 – Simple is Beautiful: Building an SLA Monitoring Tool Using Elixir/OTP at PagerDuty – Aish Dahal Sta...
New
rodrigues
Day 1 Keynote about Lumen - An alternative BEAM implementation, designed for WebAssembly by @bcardarella @KronicDeth @bitw...
New
CodeSync
Code Sync: Keynote: The Road To LiveView 1.0 by Chris McCord | ElixirConf EU 2023 Comments welcome! View the #code-sync and #elixirconf-...
New
TwistingTwists
I am in middle of watching this. I have to stop every minute and think over what Chris just said. The amount of info he sends over that ...
New

Other popular topics Top

William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
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 LiveV...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement