The Little Elixir & OTP Guidebook (Manning)

Does not give you the same isolation Docker gives you… neither is portable to other environments in an immutable way.

I can install as many versions as I want of Elixir combined with as many as I want from Phoenix, and when I am done I just remove the container and the docker image for it.

So my projects have a .env.elixir-docker-stack that will set the Elixir and Phoenix to use on the project.

# .env.elixir-docker-stack

elixir_version=1.7-slim
phoenix_version=1.3.4
dockerfile=debian

I’m currently working through the book but as mentioned, some parts of it use deprecated functions. It would be great if the book would be updated, but I don’t want to wait for that. Are there any other good and up-to-date resources for learning OTP?

The code has been updated to new syntax (dynamic supervisors, registry) in this blog, by @david_ex

http://davidsulc.com/blog/2018/07/09/pooltoy-a-toy-process-pool-manager-in-elixir-1-6/

4 Likes

Just noticed this free eBook offer from Manning…

The Little Elixir & OTP Guidebook

Don’t miss out! Offer ends March 7, 2021. Only available to new email subscribers.

https://freecontent.manning.com/free-ebook-the-little-elixir-otp-guidebook/

8 Likes