Build your very own web framework in Elixir
summary
Shows how to roll a minimal web framework in Elixir that actually works: uses Plug Router and the Cowboy adapter for HTTP, renders templates compiled to functions via EEx.function_from_file, parses forms with Plug. Builds a small timeline CRUD app with an Agent-backed repo, cookie sessions (signed secret_key_base), redirects and static assets via Plug.Static, and demonstrates a working demo and repo to inspect.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:36thoughtbot
- 4:16The Basics
- 7:44mix run --no-halt
- 9:32Controllers, Views, and Templates
- 14:52Handling forms
- 19:25Daze.Action
- 23:45Sessions
- 27:34Static assets
- 30:20Demo
related talks
44mRise of The Phoenix - Building an Elixir Web Framework
01h 00mPhoenix: an Intro to Elixir's Web Framework
30mThe Power of Middleware - Building Your Own Mini Web Framework on Rack
34mWhat you can learn from Elixirs HTTP Middleware Plug?
39m"Elixir-based Ruby Web Server"
50mPhoenix Framework: a (Truly) Fullstack Stack for Building Real-Time Web
38mIntroduction to the Phoenix Framework
21mWeb Apps in Erlang Are Actually Simple
