slashdotdash

slashdotdash

Phoenix LiveView is now... live!

Phoenix Live View is now publicly available on GitHub.

Here’s Chris McCord’s tweet announcing making it public.

First 10 of 96 Posts! Switch mode

DevotionGeo

DevotionGeo

Everybody go and star the LiveView’s repo, to encourage and thank @chrismccord for his awesome work and contributions to the community.

26
Post #1
ppiechota

ppiechota

So… my weekend plans just changed :smiley:

18
Post #2
axelson

axelson

Scenic Core Team

Here’s a link to the official Dockyard blog post by Chris: Phoenix LiveView: Interactive, Real-Time Apps. No Need to Write JavaScript. - DockYard

WolfDan

WolfDan

It looks amazing! But is just me or this workflow of sync client data with server one can take a lot of network bandwidth?

E.g:

https://i.imgur.com/DYIv3ut.gif

On a SPA or Server Render you normally don’t tranfer so often

chrismccord

chrismccord

Creator of Phoenix

For an “image editor”, yes, absolutely would use more bandwidth than a client app, but that example is more to showoff the minimal diffs we apply on both client and server. The autocomplete search example is a much better real-world comparison when discussing bandwidth:

https://i.imgur.com/WWAHTR3.gif

In this case, the LiveView diffs match the best, most optimized server JSON you could write by hand, and you get that for free with zero effort. For some use cases we will use more bandwidth , like real-time form validations, but there are others where we can match, or potentially beat, a SPA bandwidth wise.

29
Post #5
josevalim

josevalim

Creator of Elixir

To add to what Chris said, there is also a feature to add debouncing/throttling in the cases you don’t want to immediately send changes all the time to the server.

27
Post #6
WolfDan

WolfDan

Oh I see makes sense then, In your opinion what are the best use cases for LiveView? Do you think something like a social network could fit into it?

That’s what I love about Elixir community in general! You think about everything when giving us new tools/features, thank you for the amazing work guys!

AstonJ

AstonJ

Whooo hoo! Congrats Chris, José and everyone who worked on or helped contribute towards it :orange_heart:

Can’t wait to try it out now :003:

(Have also split these posts into a dedicated thread :023:)

simon

simon

+1.

I’m really, really keen to start playing with this and finally seeing if I could replace Meteor with it for the application I want to update (and now migrate).

Ninigi

Ninigi

Can’t wait to try this out!

Big "thank you"s to everyone involved in that project, now lets all take this baby for a test drive and give feedback, so they can continue their work :smile:

Last Post!

arcanemachine

arcanemachine

I can’t remember which post it was, but IIRC Chris McCord said in a post that he doesn’t like them.

Where Next?

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2976 91332 914
New
f0rest8
Hi everyone :waving_hand: Posting here to showcase and announce that Metamorphic is now officially live on a public-facing domain at htt...
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
AstonJ
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
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

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
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
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
zachdaniel
Introducing AshStorage! Attachment and file management that slots directly into your resources :smiling_face_with_sunglasses: I had hope...
New

We're in Beta

About us Mission Statement