#Phoenix-Liveview
5 notas · última:
LiveView Is Not a Zero-JS Framework, It’s a Zero-Boring-JS Framework
The post argues that LiveView can cover most app needs without much JavaScript, while still leaving client-side code for richer browser-only features and hooks.
How LiveView differs from a traditional SPA
The text contrasts traditional SPAs, which split state and code between client and server, with Phoenix LiveView, which keeps state on the server and reduces custom browser-server code.
Building a Real-time Kanban Board with Phoenix LiveView
The post walks through building a minimal Kanban board with Phoenix LiveView, from project setup and Ecto schemas to LiveView events, PubSub broadcasts, and drag-and-drop updates.
Communicating between LiveViews on the same page
The post compares ways for multiple LiveViews on one page to communicate: via parent and child PIDs, sibling routing through a shared ancestor, or PubSub scoped by root PID or page ID.
Linear Regression with Elixir, Phoenix and LiveView. Part I
The post builds a simple linear regression model in Elixir, stores training points, and updates weights with gradient descent over multiple epochs to improve predictions.
