Elixir for Programmers, Second Edition
Elixir, Phoenix, and LiveView, paced for folks who can already program.
You're a programmer, so you don't need spoon feeding with the conventional drivel about "this is an integer." No. You need to know what's different, and you want to know quickly.
But you want more. True mastery of Elixir comes from understanding the underlying idioms: functional programming, transformations, concurrency, and application structure. You need to know the tools, such as IEx and mix. And you need to understand the frameworks, such as OTP and Phoenix. This course will get you started down this road (and your experience will take you the rest of the way),
The course has videos to show you stuff, text to give you facts, quizzes to help you remember, and exercises to let you practice.
More and more developers are switching to Elixir. Take this course and join them.
Team discounts available.
Welcome
Finding Your Way Around
Installing Elixir
Introduction to IEx
What We're Going to Do
Create a New Project
Start Coding
Start Writing the Dictionary
Make it More Functional
Onward!
Introduction
Integers and Floats
Atoms
Booleans
Ranges
Strings (and Sigils)
Regular Expressions
Tuples
Lists
Maps
Introduction
The Basics
Ignoring Values With Underscores
Pinning the Values of Variables
Pattern Matching and Function Calls
Lists and Recursion
The Plan
The API
Typespecs
Start Coding
FREE PREVIEWAnd Start Testing
Pattern Matching Game State
Check for Duplicate Moves
Score a Good Guess
And a Bad Guess
Mostly About Loops
Create the Text Client App
Finish Up the Text Client
First, You Do It...
Then I'll Do It
Why We're Looking At This Backwards
spawn: Create a New Process
Sending and Receiving Messages
Pattern Matching Messages
Linking Our Fate to Our Child's Fate
Agents: An Abstration Over State
Keeping the Wordlist in a Process
The Runtime vs Implementation Time Divide
Implement Dictionary Runtime
Applications Are Projects That Can Run Themselves
Run Dictionary as an Application
No Mr Dictionary, I Expect You To Die
FREE PREVIEWAdd a Supervisor to Dictionary
Supervisors and Servers
Make Hangman a Server
Change to API to Use the Server
How Others Do It
Nodes and Remote Processes
Playing With Nodes in IEx
A Chain of Nodes
Writing the Chain
FREE PREVIEWUpdate The Text Client to the New API
Don't Run Hangman Automatically
Creating Remote Servers
Introduction
Installing Phoenix
Playing with Phoenix: Views and Templates
Create an HTML Hangman App
Paths and Routes
Integrate the Game server with the Phoenix Front End
Start to Tidy Up
More Tidying
You're Never Done Until You Refactor...
Cleanup Unused Servers
LiveView: What's The Big Deal?
Example: Dynamically Display Memory Use
Starting on LiveView Hangman
Writing the WordSoFar Component
Writing the Alphabet Component
Finish the Hangman Game
Congratulations!
Changes from the previous edition
Dave Thomas