
Programming Phoenix
by Chris McCord, Bruce Tate, Jose Valim · first published 2016
66mentions
32recommended by
48HN commenters
2015–2026first – last mentioned
67% recommend33% neutral
Why HN recommends it
Written by Phoenix's core contributors, it gives a big-picture view of how and why Phoenix works, demystifying the framework. Suits Rails devs and Elixir newcomers building regular web apps, including Channels.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.






For anyone curious about Phoenix and Elixir, I can sincerely recommend the following resources to get you started: - Programming Phoenix by Chris McCord, Bruce Tate, and José Valim [1] - The Little Elixir & OTP Guidebook by Benjamin Tan Wei Hao [2] - Elixir in Action by Saša Jurić [3] Phoenix initially attracted me to Elixir, I've stuck…
on “Phoenix 1.3.0 Released” ↗…surprised. Of course, my strong background in Rails helped me quite a lot, too. If you want a really good book that helps you understand concepts (and also the code) the best one so far I've read is Programming Phoenix by Chris and José themselves.[1] [1] https://www.amazon.com/Programming-Phoenix-Productive-Reliab...
on “Books from Phoenix Inside Out series” ↗If you're interested in the Phoenix Framework you should check out "Programming Phoenix: Productive |> Reliable |> Fast". It's written by the creator of Phoenix (Chris McCord) and the creator of Elixir (José Valim), and it's a fantastic intro to Phoenix.
on “Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo” ↗Programming Phoenix is also excellent. I think it helps that it was written by the core contributors to Phoenix itself (including Jose Valim, who created Elixir). I really appreciated not only looking at how things work,…
on “Beyond 10,000 Lines: Lessons Learned from a Large Phoenix Project” ↗…that are a good subsitute. Here's the order I usually recommend for new Elixirians: 1) Dave Thomas' Programming Elixir 2) Sasa Juric (http://theerlangelist.com/) Elixir in Action (blog is also great) 3) Programming Phoenix (Jose Valim, Chris McCord, Bruce Tate) 4) Lance Halvorsen's Functional Web Development with Elixir, OTP, and Phoenix should probably be in there somewhere but I'm not sure where, as I haven't had a chance…
on “Ask HN: Looking for the best Phoenix/Elixir/Erlang Tutorials” ↗…provides data mapping and language integrated query), and hit a surprising number of users per host with trivial code (common game engine back-end.) https://www.phoenixframework.org/ https://www.amazon.com/Programming-Phoenix-Productive-Reliab... If you don't run away from a framework intro, then dive into the details of the OTP: https://www.amazon.com/Designing-Elixir-Systems-OTP-Self-hea... https://www.amazon.com/Elixir-Action-Third-Sa%C5%A1a-Juric/d...…
on “Gleam OTP – Fault Tolerant Multicore Programs with Actors” ↗…a long time Rubyist (10 years now) and I'm really enjoying Elixir. What got me hooked was the simple syntax and wonderful documentation, both from the project itself and in the Programming Elixir and Programming Phoenix books. The ease of navigating an Elixir project is a huge benefit. If I want to know where a function is defined, it's very easy to find it. There's none of this class-reopening or meta programming malarkey…
on “Why the Elixir language has great potential” ↗…people who writes these blog posts, an especially well vetted and knowledgeable one. Maybe even one who writes the frameworks and software these people are using. cough https://pragprog.com/book/phoenix14/programming-phoenix-1-4 cough What if we took this person, and paid them money to write a bunch of blog posts about on topic, in a way that it read in a linear fashion? We could even maybe hire someone to help them, to proof…
on “Don’t Do This in Production” ↗…Googling and self exploration. Now, I'm not saying Elixir and Phoenix is bad at all. I'm still happily using it to build my next big project (for all of the reasons that everyone else uses it for), and the Programming Phoenix book is a great learning resource for building regular web apps with Phoenix, but there's nothing like that for LiveView. But on the bright side, Chris (the author of Phoenix) and Jose (the author of…
on “Build a real-time Twitter clone with LiveView and Phoenix 1.5” ↗I can't wait until May[0] for the new 'Programming Phoenix' book. I found the first edition to be a great learning experience. [0] http://shop.oreilly.com/product/9781680502268.do
on “Phoenix 1.3 is pure love for API development” ↗…guides that tell you how to do stuff like add routes, add authentication, do advanced queries [2], etc, the Phoenix guides are missing a lot. It took me until I actually read an entire book about Phoenix (Programming Phoenix 1.4 [3], which I do recommend) before I actually got onboard with it. And while there's nothing wrong with reading a book, it is a significantly higher barrier to entry compared to something like Django or…
on “Minimum Viable Phoenix” ↗The guides at phoenixframework.org and the just finished Programming Phoenix book are your best bets: * (free) http://www.phoenixframework.org/ * (paid) https://pragprog.com/book/phoenix/programming-phoenix
on “Elixir and Phoenix – hands-on introduction” ↗Elixir 1.3 and Ecto 2.0 are now both released. That means Phoenix 1.2 will be released ASAP. Definitely give the Programming Phoenix book a read if you haven't already. The Elixir/Phoenix stack should be ready for most production environments now. https://pragprog.com/book/phoenix/programming-phoenix
on “Elixir v1.3 released” ↗…absolutely recommend you to have a look at the books the Elixir community has produced. As you're specifically asking for tutorials (and not other sources for learning), my best recommendation would be Programming Phoenix [2], a book written by the creators of Elixir and Phoenix. The book is structured so that most of it is focused on building one specific web application, so you can follow along from start to finish…
on “Ask HN: Looking for the best Phoenix/Elixir/Erlang Tutorials” ↗…inspiration and guidance. Basically error driven development and looking up things as needed. Of course also taking advantage of IRC / Slack / Forums when I get really stuck. But recently I read the Programming Phoenix 1.4 book (written by the authors of Elixir and Phoenix) and it really filled in a ton of gaps and made so many things click together. I can't speak highly enough about it. In fact, finishing that book today…
on “Elixir 1.9” ↗