top | item 34189296

(no title)

Crazyontap | 3 years ago

Speaking as an amateur programmer, is this like Laravel's livewire or intertiajs with inline blade component? (but in Elixir). Or is this something else?

discuss

order

jnsaff2|3 years ago

I think livewire was inspired by phoenix liveview. I remember there was even a podcast interview about it.

cultofmetatron|3 years ago

live view is the original and best.

imitators use long polling to periodically check for updates. liveview spins up a dedicated vm process for each active user and can push updates over websocket to update things. This process can do things like listen for serverside events as well.

wstuartcl|3 years ago

It may be redundant but I think its always important to note that processes as listed above are not like os processes here -- but an extremely lightweight internal VM thread like thing in the BEAM VM. In is not uncommon to have many millions running in the beam VM. Very much lighter than threads or OS processes.

freedomben|3 years ago

Yes, there are a lot of similarities. As mentioned in siblings, Livewire was inspired by LiveView so they are directly related.

thedangler|3 years ago

livewire was inspired by liveview. I think livewire 3 will be more like the newer version of liveview

bnt|3 years ago

Well, unless it moves completely to Websockets, it will still remain a slow mess.

metaltyphoon|3 years ago

Pig backing here… is this like Blazor server-side?

ch4s3|3 years ago

Yes, Blazor is inspired by LiveView.