In the Pragmatic Studio we’re all about building as-close-to-possible-real-world apps with real-world code. In our popular Developing With Elixir/OTP course, we look at several examples of when and how you’d use GenServers in a real application.

When you’re starting out with Elixir, writing a GenServer can be confusing and it’s tempting to just cargo cult from example code. But we want you to feel really confident with GenServers, so in videos #1-26 we incrementally build up to using one in the app.

Then, in video #27, we dive into a second practical example for using a GenServer. Building off of what we’ve explored so far, we write a server process that performs background work on a periodic interval.

For the next 24 hours, you can watch this 9-minute video for free:

The full Developing With Elixir/OTP course includes:

  • 6.5 hours of step-by-step live coding
  • 15 animations that break down advanced concepts
  • 35 videos streamable and downloadable
  • 56 hands-on exercises with all the solutions, of course
  • Never-ending access (no monthly subscription!)

Developing With Elixir/OTP is on sale for only $49 through Friday, June 22, 2018! (Use coupon code “elixir49”.)