Learn the benefits of Elm and learn why it has the reputation for never crashing. In this course, you'll build an Elm application from start to finish using elm-package to access Elm's package ecosystem, write tests with elm-test, work with third-party JavaScript libraries from Elm using JavaScript Interop, and much more! Throughout the course, Richard discusses tips and tricks for getting the most out of the language. This course uses the latest 0.19 version of Elm.
Overview
Syllabus
- Introduction
- Costs & Benefits
- Workshop Structure
- Functions & if expressions
- Nested Function Expressions
- Smart Compile Errors
- Virtual DOM
- Introduction Review & Q&A
- Rendering a Page Exercise
- Rendering a Page Solution
- Strings
- let Expressions
- Lists
- Anonymous Functions
- Partial Application
- Render a List to a View
- Manipulating Values Review & Q&A
- Manipulating Values Exercise
- Manipulating Values Solution
- Records
- Record Iteration
- Booleans
- Boolean Operations
- The Elm Architecture
- The Elm Architecture: Update
- Interaction Review & Q&A
- Interaction Exercise
- Interaction Solution
- Type Annotation Overview
- Primitives & Records
- Parameters
- Aliases
- Html Msg
- Functions
- Type Annotations Exercise
- Type Annotations Solution
- Case Expressions
- Variants & Booleans
- Custom Types in Case Expressions
- Containers
- Custom Types in Messages
- Custom Types Review & Q&A
- Custom Types Exercise
- Custom Types Solution
- Maybe Overview
- Type Variables
- Pipelines & Review
- Maybe & Pipelines Exercise
- Maybe & Pipelines Solution
- Decoding
- Result
- Pipeline Decoding
- Optional & Nullable
- Decoding Review & Q&A
- Decoding JSON Exercise
- Decoding JSON Solution
- Tuples
- Function Guarantees, Randomness, & Commands
- Browser.element
- Pure Functions
- Http.getString
- Http.get
- Pattern Matching & Review
- Talking to Servers Exercise
- Talking to Servers Solution
- Subscriptions
- The JavaScript Ecosystem
- Unbound Type Variables
- port Modules, localForage, & Review
- Talking to JS Exercise
- Talking to JS Solution
- Review & Other Resources
Taught by
Richard Feldman