The Complete Elixir and Phoenix Bootcamp
Bestseller
Highest Rated
Rating: 4.8 out of 5(7,738 ratings)
30,996 students
Created byStephen Grider
Last updated 10/2021
English
German [Auto],English [Auto],

What you'll learn

  • Think with a Functional Programming mindset
  • Use Phoenix to build compelling and FAST web apps
  • Understand common Elixir syntax and design patterns
  • Master the OAuth flow with Phoenix for authentication
  • Learn the hidden secrets of Phoenix

Course content

14 sections • 152 lectures • 17h 20m total length
  • How to Get Help2:52

    Learn how to seek help for Elixir and Phoenix by sharing your code on GitHub, using the course's official Elixir code repo, and browsing sections to debug.

  • Course Resources0:37
  • Installing Elixir2:00

    Install elixir by following the official install page for Windows, OSX, or Unix, and use Homebrew on OSX with brew update and brew install elixir for a painless setup.

  • Project Outline4:05

    Set up Elixir and run elixir from the command line, then start a hands-on project to build deck operations and compare functional programming with object-oriented approaches, including testing and documentation.

  • Generating a Project2:51

    Generate a new Elixir project using the mix tool, explore the generated files, and set up the cards project to manage dependencies, tests, and documentation.

  • Elixir Modules and Methods6:04

    define a cards module and a hello function in elixir, then run it in iex with mix to see implicit return and call the cards.hello function.

  • Lists and Strings3:22

    Define a create deck method in the cards module to generate a list of playing cards, test it in the Elixir shell, and recompile to reload changes.

  • Object Oriented vs Functional Programming9:12

    Explore the core differences between object-oriented and functional programming in Elixir, emphasizing modules over classes, design patterns, and data transformation without instance variables.

  • Method Arguments4:48

    Explore functional programming by implementing a shuffle function for a deck of cards, handling arity and compile errors, and returning a new shuffled list of strings.

  • The Enum Module5:54

    Learn how Elixir's Enum module shuffles data with the built-in Enum.shuffle, understand arity and function calls, and explore list operations in the standard library.

  • Immutability in Elixir3:57

    Explore immutability in Elixir as shuffle returns a new deck rather than modifying the original. Learn how Enum powers list operations in a functional programming style.

  • Searching a List6:02

    Implement a contains method in the cards module to check if a card exists in a deck using Enum.member, returning a boolean, and noting the question-mark convention in Elixir.

  • Comprehensions Over Lists7:11

    Expand the create deck method by using list comprehensions to generate every card combination from ace through five across spades, clubs, hearts, and diamonds.

  • Not Everything Works the First Time5:02

    Explore Elixir comprehensions, including mapping over values and suits and using string interpolation to generate cards like ace of spades, while debugging nested loops to flatten results.

  • Solving Nested Arrays6:47

    Explore solving nested arrays in Elixir by flattening lists to a single deck of card strings, or generate all suit and value combinations with a double comprehension.

  • Importance of Index with Tuples8:34

    Explore immutability in Elixir by returning a new deck when dealing a hand from a card deck, using Enum.split to separate hand and rest, and distinguish lists from tuples.

Requirements

  • Basic understanding of another programming language - Javascript, Ruby, C#, PHP, or similar

Description

Elixir and Phoenix are two of the hottest technologies of 2017.

Functional Programming? You will learn it.  Phoenix with OAuth? Its here.  Postgres for data storage? Of course! Websockets too!

This course will get you up and running with Elixir and Phoenix quickly, and teach you the core knowledge you need to deeply understand and build amazingly fast web applications.

We'll start by mastering the fundamentals of functional programming with Elixir, including functions, modules, and the fantastic 'pipe' operator.  You'll learn how FP differs from classic object oriented programming with a variety of different practical examples.  Once you have a solid understanding of Elixir, we'll discuss how to build amazingly fast applications with the Phoenix Framework with an in-depth app.  Source code is provided for each lecture, so you will always stay up-to-date with the course pacing.

If you are new to Elixir, or if you've been working to learn it but sometimes feel like you still don't quite 'get it', this is the Elixir course for you! To learn Elixir and Phoenix you have to understand them.

  • Learn how to use Elixir's built-in library to clean up your code
  • Master the differences between functional and object oriented programming
  • Grasp all of the different pieces of syntax in common Elixir programs
  • Build interesting and challenging projects that have practical uses
  • Develop a web app using Phoenix that can be expanded in a variety of different ways
  • Go behind the scenes of Phoenix and learn how the internals work
  • Master the OAuth flow by authenticating users with the Github Public OAuth service
  • Practice working with databases by integrating Postgres into your app

I've built the course that I would have wanted to take when I was learning Elixir and Phoenix. A course that explains the concepts and how they're implemented in the best order for you to learn and deeply understand them.

Who this course is for:

  • This course is for anyone looking to learn Elixir and Phoenix