Intermediate
48h
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.
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!
Elixir and OTP provide exceptional tools to build rock-solid backend applications that scale. In this course, you’ll build a web...Show More
WHAT YOU'LL LEARN
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.
Learn to build an Elixir web application with a purely functional finite state machine.
Show more
Content
1.
Introduction
2 Lessons
Get familiar with leveraging Elixir, OTP, and Phoenix for elegant, maintainable web development.
2.
Mapping Our Route
2 Lessons
Solve challenges with Elixir’s concurrency and Phoenix Channels for stateful web applications.
3.
Model Data and Behavior
12 Lessons
Master the steps to model game logic and domain entities in Elixir application development.
4.
Working of State Machines
12 Lessons
Break down the steps to managing state with state machines in Elixir applications.
5.
Add OTP for Concurrency and Fault Tolerance
17 Lessons
Take a closer look at using GenServer and OTP for efficient concurrency and fault tolerance.
6.
Process Supervision for Recovery
18 Lessons
Focus on process supervision's role in error recovery and system reliability in Elixir.
7.
Generate a New Web Interface with Phoenix
10 Lessons
Practice using Phoenix to create modular web interfaces with decoupled business logic.
8.
Create Persistent Connections with Phoenix Channels
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.
Course Author:
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources