29 Dec 2019 in General
It’s easy to end up with an overly complex LiveView that houses lots of business rules and responsibilities. We can use Phoenix.LiveComponent
to build a LiveView feature that is clean, maintainable and adherent to the Single Responsibility Principle.
23 Oct 2019 in General
Follow along as we use build Elixir School’s Slack invite portal: Admissions.
20 Oct 2019 in General
We’ll use LiveView’s live_link/2
together with the handle_params/3
callback to allow users to sort a table in real-time.
20 Sep 2019 in General
The release of Elixir 1.9 gave us mix release
and the ability to support basic releases, runtime configuration and more, natively in Elixir. Learn how we were able to build a production release of an Elixir umbrella app with Docker, mix release
and the new Config
module.
08 Sep 2019 in General
We had a great time at ElixirConf 2019! Hear about Elixir School’s two workshops, along with the highlight talks and activities that we enjoyed this year.
23 Aug 2019 in Today I Learned
Before you reach for adding another association to your schema, consider using Ecto.Query#select_merge/3
with a virtual field instead.
06 Jun 2019 in Reviews
ElixirSchool was invited to participate in a conference for the first time! Our own @gemantzu was there, and has a lot to say!
04 Jun 2019 in General
By pairing a custom Phoenix Channel with our LiveView, with the help of a Registry, we can respond to LiveView events with custom JavaScript on the client-side to provide better UX.
21 May 2019 in General
Use Phoenix Presence in your LiveView to track user state with just a few lines of code.
01 May 2019 in Announcements
Join us this year at ElixirConf 2019 for the first ever Elixir School workshop!
17 Apr 2019 in Today I Learned
Use Ports and GenServers to communicate from your Elixir app to processes running outside the Erlang VM.
11 Apr 2019 in General
Integrate Phoenix PubSub with LiveView to build real-time features capable of broadcasting updates across a set of clients.
25 Mar 2019 in Today I Learned
Let’s take a look at how Ecto handles these two ways of ensuring data integrity
19 Mar 2019 in Today I Learned
Learn how to use Phoenix LiveView for real-time features without complicated JS frameworks.
21 Feb 2019 in Today I Learned
Learn the ins and outs of Elixir’s 3 supervisor strategies
15 Feb 2019 in Today I Learned
Support non-blocking, async GenServer initialization callbacks with OTP 21’s nifty handle_continue/2
!
12 Feb 2019 in General
Want to put your app in the real world? Today we do it with Heroku!
07 Feb 2019 in Today I Learned
Want to schedule something to run later? Need a reoccurring task? Today we learn how!
25 Jan 2019 in General
When it comes to building a web application with Elixir many people will immediately reach for Phoenix.
However, did you know Plug.Router
is just as viable an option?
Sometimes, it can be even faster.
19 Jan 2019 in General
De-mystify the concept of recursion and gain a deeper understanding of how and why to use it by writing our very own recursive function in Elixir.
15 Jan 2019 in General
A codealong to help connect Kafka to your Elixir project with the wrapper Kaffe.