~/talk

Phoenix: an Intro to Elixir's Web Framework

Talkat NDC London 2017 · 2017-01-16..01-20· [elixir-and-erlang, web-platform]
speakerdeck:scrogson
slides:none on file

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

  1. 0:00Introduction
  2. 0:48Framework Philosophy
  3. 3:01Performance and Features
  4. 5:04Underlying Technologies
  5. 6:24Understanding Plug
  6. 9:06Creating Custom Plugs
  7. 11:32Ecto and Data Access
  8. 12:04Project Scaffolding
  9. 13:51Architecture and Routing
  10. 18:27Controllers and Views
  11. 23:42Template Rendering
  12. 26:52Form Handling
  13. 30:57Authentication Logic
  14. 37:26Introduction to Channels
  15. 41:16Implementing Channels
  16. 46:24Message History
  17. 50:13User Presence
  18. 55:17System Architecture
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.