Elixir Fundamentals interview question · Most asked
What are Phoenix LiveView and Ecto?
Summary
LiveView renders interactive, real-time UIs on the server and updates the browser over a WebSocket, without a separate JavaScript frontend. Ecto is Elixir's database toolkit: schemas, changesets for casting and validation, composable queries and migrations.
Longer Answer
Both are part of the Phoenix ecosystem; Oban adds background jobs on PostgreSQL.
Key Points
- LiveView: server-rendered real-time UI.
- Ecto: schemas, changesets, queries.
- Phoenix PubSub for broadcasts.
Deep dive: Elixir Fundamentals: Phoenix Ecosystem