💧 Khóa Học Elixir Từ A Đến Z

Học lập trình hàm và xây dựng hệ thống distributed với Elixir & Phoenix Framework

20
Bài học
6
Phần
~15h
Thời lượng
← Về trang Elixir

📖 Phần 1: Cơ Bản

01
📌 Giới thiệu Elixir & Cài đặt
Elixir là gì? Tại sao chọn Elixir? Cài đặt môi trường phát triển.
⏱️ 15 phút
02
📦 Kiểu dữ liệu cơ bản
Atoms, Tuples, Lists, Maps, Strings trong Elixir.
⏱️ 20 phút
03
🎯 Pattern Matching
Tính năng cốt lõi của Elixir - destructuring và matching.
⏱️ 25 phút
04
➕ Các phép toán
Arithmetic, Comparison, Boolean operators trong Elixir.
⏱️ 15 phút

🔄 Phần 2: Điều Khiển Luồng

05
🔀 Control Flow (case/cond/if)
Cấu trúc điều kiện và branching trong Elixir.
⏱️ 20 phút
06
🔁 Đệ quy (Recursion)
Tail recursion và các kỹ thuật lặp trong functional programming.
⏱️ 25 phút

🧩 Phần 3: Functions & Modules

07
⚙️ Functions & Anonymous Functions
Named functions, anonymous functions, closures.
⏱️ 25 phút
08
📦 Modules & Attributes
Tổ chức code với modules, module attributes.
⏱️ 20 phút
09
📋 Enum & Streams
Xử lý collections với Enum và lazy evaluation với Streams.
⏱️ 30 phút
10
🔗 Pipe Operator
Pipe operator |> và data transformation pipelines.
⏱️ 15 phút

🚀 Phần 4: OTP & Concurrency

11
⚡ Processes
BEAM processes, spawning, message passing.
⏱️ 30 phút
12
🔌 GenServer
Generic Server behaviour, stateful processes.
⏱️ 35 phút
13
🛡️ Supervisor & Fault Tolerance
Supervision trees, restart strategies, "Let it crash".
⏱️ 30 phút
14
📦 Mix & Project Structure
Build tool Mix, dependencies, project organization.
⏱️ 25 phút

💾 Phần 5: Data & Testing

15
🏗️ Structs & Protocols
Custom data types với Structs, polymorphism với Protocols.
⏱️ 25 phút
16
💾 Ecto - Database Queries
Ecto schemas, changesets, queries với PostgreSQL.
⏱️ 40 phút
17
🧪 Testing với ExUnit
Unit tests, doctests, test organization.
⏱️ 25 phút

🌐 Phần 6: Phoenix Framework

18
🌐 Phoenix Framework
Giới thiệu Phoenix, MVC pattern, routing, controllers.
⏱️ 35 phút
19
⚡ Phoenix LiveView
Real-time UI updates không cần JavaScript.
⏱️ 40 phút
20
🚀 Dự án: Real-time Chat App
Xây dựng ứng dụng chat real-time với Phoenix Channels.
⏱️ 60 phút