AI-powered learning
Save this course
Building Real-Time Web Applications with Phoenix LiveView
Gain insights into building real-time web apps with Phoenix LiveView. Learn about creating interactive code, building a game from scratch, and managing distributed real-time dashboards.
5.0
76 Lessons
244h 20min
Updated 2 months ago
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- Learn about the basics of Phoenix LiveView.
- Explore techniques that help us organize our code into layers.
- Learn Phoenix LiveView design and best practices.
- Explore the process of Generators, Changesets and Testing in a LiveView.
- Explore different ways of generating shapes by building a game prototype.
Learning Roadmap
1.
Introduction
Introduction
Get familiar with creating real-time web interfaces using Phoenix LiveView.
2.
Phoenix and Authentication
Phoenix and Authentication
Discover the logic behind structuring modules, handling requests, and implementing authentication in Phoenix.
3.
Generators: Contexts and Schemas
Generators: Contexts and Schemas
5 Lessons
5 Lessons
Break apart contexts and schemas in Phoenix LiveView to streamline CRUD functionalities.
4.
Generators: Live Views and Templates
Generators: Live Views and Templates
7 Lessons
7 Lessons
Grasp the fundamentals of Phoenix LiveView workflows, from routing and state management to modal and form interactions.
5.
Forms and Changesets
Forms and Changesets
6 Lessons
6 Lessons
Dig deeper into changesets for efficient data handling and real-time form validation using Phoenix LiveView.
6.
Stateless Components
Stateless Components
7 Lessons
7 Lessons
Tackle creating dynamic surveys using stateless components in Phoenix LiveView for efficient user experiences.
7.
Stateful Components
Stateful Components
7 Lessons
7 Lessons
Build on creating and managing stateful components and displaying user demographics and ratings efficiently.
8.
Build an Interactive Dashboard
Build an Interactive Dashboard
9 Lessons
9 Lessons
Step through building an interactive real-time dashboard with Phoenix LiveView.
9.
Build a Distributed Dashboard
Build a Distributed Dashboard
5 Lessons
5 Lessons
Get started with building a distributed real-time dashboard using Phoenix LiveView, PubSub, and Presence.
10.
Test Your Live Views
Test Your Live Views
5 Lessons
5 Lessons
Break apart effective strategies for unit and integration tests for LiveView components.
11.
Build The Game Core
Build The Game Core
6 Lessons
6 Lessons
Apply your skills to build a game core by managing shapes, points, and user interactions.
12.
Render Graphics With SVG
Render Graphics With SVG
6 Lessons
6 Lessons
Solve problems in building user interfaces with Surface and rendering SVG graphics.
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
If you want to program just for the joy of creating, LiveView will be an excellent opportunity for you. This programming model keeps your brain firmly on the server and lets you explore one concept at a time. Layering on graphics makes this kind of exploratory programming almost magical.
Programmers learn by writing code, and that’s exactly how this course will work. We’ll work on a project together as if we’re a fictional game company. You’ll write lots of code, starting with small tweaks of generated code and building up to major enhancements that extract common features with components.
As you build the application, you’ll encounter more complexity. A distributed dashboard will show a real-time view of other users and processes. You’ll even build a game from scratch—because that’s the best way to learn how to layer the most sophisticated LiveView applications.
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