Real-Time User Tracking with Phoenix Presence and LiveView
Learn to build responsive, distributed web applications that track active users in real time using Elixir, PubSub, and Phoenix Presence.
Về khóa học này
In modern web applications, showing who is online and what they are doing in real time is a core feature for collaboration and engagement. Building these features can be complex, but Phoenix Presence provides a robust, distributed system to handle user state seamlessly. This text-based course guides you through the foundational concepts of real-time state tracking, showing you how to monitor user activity without overloading your database or server. You will learn to implement live user lists, activity indicators, and collaborative features using Elixir and Phoenix.
What you'll learn:
- Understand the core architecture of Phoenix Presence, PubSub, and LiveView.
- Track user connections, disconnections, and metadata across distributed nodes.
- Implement live online-user lists that update instantly as users join or leave.
- Apply modern Phoenix LiveView component patterns to render real-time state.
- Manage state efficiently with Conflict-Free Replicated Data Types (CRDTs) underlying Presence.
- Configure secure tracking that respects user privacy and application performance.
You will start by mastering foundational real-time web concepts and Elixir processes. Then, you will progress to configuring Presence, broadcasting updates via PubSub, and rendering live state changes directly in the browser using clean, modern LiveView patterns. This course is designed for web developers new to real-time features or Phoenix. No prior experience with Phoenix Presence is required, though a basic familiarity with Elixir and HTML will help you get the most out of the written lessons and code examples. Start reading today to build highly interactive, real-time user experiences with Phoenix.
Bạn sẽ nhận được
-
📜
Chứng chỉ hoàn thành
Thêm vào hồ sơ LinkedIn -
🎧
Bao gồm phiên bản âm thanh
Học mọi lúc mọi nơi — không cần màn hình -
♾️
Truy cập trọn đời
Quay lại bất cứ lúc nào, không hết hạn -
📱
Điện thoại hoặc máy tính
Hoạt động mọi nơi, mọi thiết bị -
💸
Hoàn tiền 30 ngày
Không cần lý do -
⚡
Ngắn gọn, đi vào trọng tâm
31 phút nội dung thực hành
Đánh giá
Chưa có đánh giá — hãy là người đầu tiên chia sẻ.
Câu hỏi thường gặp
Tôi cần gì để học khóa này? +
Chỉ cần điện thoại hoặc máy tính có kết nối internet. Không cần cài đặt hay thiết bị đặc biệt.
Tôi thanh toán bằng cách nào? +
Bằng thẻ qua Stripe, hoặc tiền điện tử. Chúng tôi không lưu thông tin thẻ — Stripe xử lý an toàn.
Tôi có thể được hoàn tiền không? +
Có — hoàn tiền đầy đủ trong 30 ngày, không cần lý do.
Tôi sẽ có quyền truy cập trong bao lâu? +
Mãi mãi. Sau khi mua, khóa học là của bạn để xem lại bất cứ lúc nào.
Tôi có nhận được chứng chỉ không? +
Có. Sau khi hoàn thành, bạn sẽ nhận được chứng chỉ và có thể thêm vào hồ sơ LinkedIn.
Dành cho người học trong
Công nghệ
Thiết kế
Tài chính
Marketing
Y tế
Giáo dục
Khách sạn-Dịch vụ
Sản xuất