Phoenix: an Intro to Elixir's Web Framework
summary
Demonstrates building a small Phoenix app live: generating a project with mix, wiring Plug/Cowboy as the HTTP layer, using Ecto changesets for form validation and DB inserts, and rendering templates with embedded Elixir. Adds session-based login, a plug that assigns current_user, and a registration flow that actually persists and redirects. Implements realtime chat with Phoenix Channels & Presence, pushing message history on join and broadcasting new messages to all subscribers via PubSub with a phoenix.js client in the browser.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 0:48Framework Philosophy
- 3:01Performance and Features
- 5:04Underlying Technologies
- 6:24Understanding Plug
- 9:06Creating Custom Plugs
- 11:32Ecto and Data Access
- 12:04Project Scaffolding
- 13:51Architecture and Routing
- 18:27Controllers and Views
- 23:42Template Rendering
- 26:52Form Handling
- 30:57Authentication Logic
- 37:26Introduction to Channels
- 41:16Implementing Channels
- 46:24Message History
- 50:13User Presence
- 55:17System Architecture
related talks
44mRise of The Phoenix - Building an Elixir Web Framework
50mPhoenix Framework: a (Truly) Fullstack Stack for Building Real-Time Web
38mIntroduction to the Phoenix Framework
01h 00mPhoenix a Web Framework for the New Web
45mPhoenix a web framework for the new web
32mWhy I choose Phoenix
40mTaking Off with Phoenix
44mElixir & Phoenix - Fast, Concurrent and Explicit
