AI-powered learning
Save this course
Functional Web Development with Elixir, OTP and Phoenix
Gain insights into building scalable backend applications with Elixir, OTP, and Phoenix. Learn about persistent connections via Phoenix Channels, and explore distinct, decoupled application layers.
90 Lessons
48h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- Learn to build an Elixir web application with a purely functional finite state machine.
- Master OTP Behaviours and get the confidence to use OTP in any application.
- Learn to use OTP to provide concurrency, parallelism, and fault tolerance.
- Learn to create and track stateful, persistent connections using Phoenix channels and Presence.
- Learn to build a web interface with Phoenix.
Learning Roadmap
1.
Introduction
Introduction
Get familiar with leveraging Elixir, OTP, and Phoenix for elegant, maintainable web development.
2.
Mapping Our Route
Mapping Our Route
Solve challenges with Elixir’s concurrency and Phoenix Channels for stateful web applications.
3.
Model Data and Behavior
Model Data and Behavior
12 Lessons
12 Lessons
Master the steps to model game logic and domain entities in Elixir application development.
4.
Working of State Machines
Working of State Machines
12 Lessons
12 Lessons
Break down the steps to managing state with state machines in Elixir applications.
5.
Add OTP for Concurrency and Fault Tolerance
Add OTP for Concurrency and Fault Tolerance
17 Lessons
17 Lessons
Take a closer look at using GenServer and OTP for efficient concurrency and fault tolerance.
6.
Process Supervision for Recovery
Process Supervision for Recovery
18 Lessons
18 Lessons
Focus on process supervision's role in error recovery and system reliability in Elixir.
7.
Generate a New Web Interface with Phoenix
Generate a New Web Interface with Phoenix
10 Lessons
10 Lessons
Practice using Phoenix to create modular web interfaces with decoupled business logic.
8.
Create Persistent Connections with Phoenix Channels
Create Persistent Connections with Phoenix Channels
16 Lessons
16 Lessons
Learn how to use Phoenix Channels for real-time, scalable communication in web applications.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
Elixir and OTP provide exceptional tools to build rock-solid backend applications that scale. In this course, you’ll build a web application in a radically different way, with a backend that holds application state. You’ll use persistent Phoenix Channel connections instead of HTTP’s request-response, and create the full application in distinct, decoupled layers.
In Part 1, you’ll start by building the business logic as a separate application, without Phoenix. You’ll model the application domain with Elixir functions and simple data structures.
In Part 2, you’ll add in the GenServer Behaviour to make managing in-memory state a breeze.
In Part 3, you’ll build a web interface with Phoenix where you’ll use Phoenix Channels to establish persistent connections between the stateful server and a stateful front-end client.
Needless to say, you’re going to love this way of building web apps!
ABOUT THE AUTHOR
The Pragmatic Programmers
We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources