
Install elixir on Windows via the install dashboard, choosing Windows and the latest version (1.7.3), then open a prompt and run iex with IO dot puts to print hello world.
Explore concurrency in Elixir on the beam by building a simple server that listens for messages with a receive loop and uses spawning for multi-threading.
Set up Phoenix on Ubuntu by installing Postgres and Node via nvm, configuring notify tools, then create a new project, install dependencies, and run at localhost:4000.
Learn to set up Phoenix on Mac by installing homebrew and PostgreSQL, creating a database user and password, installing node via nvm, and running a local Phoenix project at localhost:4000.
Create a new page in Phoenix by adding a route, Hello controller, view, and template; render hello world from Phoenix with live reload.
Explore real-time messaging with Phoenix channels and pubsub, using a chat room example to broadcast new messages to all subscribers.
Define a login form and session view, build Phoenix templates, and implement an authentication plug that uses sessions, flash messages, and redirects to protect routes.
Increment a page’s views in Elixir and Phoenix by piping updates through a function that updates database with the page id, returning views, and wiring it into the show function.
Click the like button to broadcast updates over the socket, updating the likes count in real time and refreshing the UI automatically, with no Ajax or JavaScript.
*UPDATE: Added section on Phoenix LiveView*
To become a professional level programmer, you need to learn different types of languages: Everyone knows Object Oriented Programming but few people realize they need to learn a Functional Programming language that scales well in distributed computing! Elixir is one such language. It’s a fairly young language but has gained immense popularity in the past couple of years — It’s the language of the future. Learning Elixir and its web framework Phoenix means you will be set for this high-demand job skill for the near future.
In this course, we will start from scratch with Elixir and then move on to Phoenix -- the next generation web framework that is set to replace a lot of deployments of Ruby, Django, PHP and even Node. The course assumes that you’ve had some basic programming experience before. If you know a bit of Python (just the basics: if, while, for, lists, dictionaries and tuples) or Java, you’d be all set.
This is a very applied course, so we will explain everything through the commands/code and not bore you with dull slides. In fact, there isn't a single slide in this course!
In this course, we aim to give you the feel of the rhythm behind Elixir and Phoenix so that you are in the position to understand the philosophy behind it and use it to your advantage. Through this approach, we can cover the whole spectrum in less than ?? hours. We will quickly cover the fundamentals of the Elixir language (but not go into those concepts which are never used). Similarly, we will cover different aspects of Phoenix (see detailed outlines below for specifics) in a way that is both quick and efficient instead of spending many hours explaining simple concepts.
Remember: The reason you pay for this course is support. I reply within the day. See any of my course reviews for proof of that. So make sure you post any questions you have or any problems you face. I want all my students to finish this course. Let’s get through this together.