Re:Building a chat app in 8 minutes with Phoenix
by arvidkahl on Monday March 19, 2018 @12:30PM
(#16619723)
Elixir turns from wonderful to magical once you grasp the GenServer concept and learn about its extensions, namenly GenStage. The producer/consumer pattern and the back-pressure logic will allow you to build incredibly scalable, resilient systems. When I first saw it in action, I was mesmerized.
Re:Building a chat app in 8 minutes with Phoenix
by tortilla on Monday March 19, 2018 @12:40PM
(#16619851)
Just finished reading "Functional Web Development with Elixir, OTP, and Phoenix" and I really like it. It gave me a better understanding of GenServer/OTP:
https://pragprog.com/book/lhelph/functional-web-development-...
Some concepts are a bit weird like GenServer but it completely decouples your application from your state.
Writing tests was intuitive and one of the few times I’ve been doing TDD that really felt faster than manual testing.