HackerTube.live
Books / Programming

THE READING ROOM / BOOK GUIDE

Programming Phoenix

Chris McCord; Bruce Tate; Jose Valim

A practical guide to building web applications with Phoenix, the Elixir framework, written by its creator alongside Bruce Tate and Elixir's designer José Valim.

About the book

Programming Phoenix introduces the Phoenix web framework as a way to build server-rendered and real-time applications on Elixir. The book works through the framework's core pieces: routing, controllers, views and templates, Ecto for persistence, channels for live updates, and the supervision model that underpins an Elixir application. These pieces are treated as parts of one system, so a reader sees how a request, a database change and a pushed message fit together.

The authors write from inside the ecosystem. McCord created Phoenix, and Valim designed Elixir, which gives the explanations a directness about why the framework makes certain choices. Tate brings experience in teaching frameworks to working developers. The book favors building something concrete over surveying every option, and it expects the reader to run code and follow along.

Its subject is the framework and the patterns around it, not the wider Elixir language from first principles. Readers meet functional ideas as they arise in Phoenix code, which suits developers who prefer to learn a language through a working application.

How to read it

Approach the book with an editor and a terminal open. The material is cumulative, and the examples assume you will type them, break them and fix them. Skipping the setup and configuration stages tends to make later chapters harder to follow than they need to be.

The pace is steady. Concepts such as plugs, changesets and channels get explained before they are used, so the difficulty lies less in any single idea than in keeping the whole request-and-response picture in view. Readers new to Elixir should expect to pause on syntax and pattern matching. Those already comfortable with the language can move faster through the early chapters.

Who it suits

Working web developers who know another server-side language and want a guided route into Phoenix will get the most from this. It suits people building a real application who want to understand the framework's defaults instead of copying snippets. Developers curious about Elixir who learn best by seeing a full web stack in action will also find it useful.

Reading considerations

Phoenix has changed since the book was written, so some setup details and API calls may differ from current releases. Check which Phoenix and Elixir versions an edition targets before starting. Readers wanting deep coverage of Ecto, deployment or the Elixir language itself should look beyond this single volume.

Follow the HN conversation

32 different recommenders are recorded in the upstream dataset. These are AI-classified source counts, not an independent rating.

Search HN comments about this book ↗

Explore videos on the same subject ↗

Book notes prepared with DeepSeek, using catalogue records and Open Library subject information. They are reading guidance, not a personal review or a verified chapter-by-chapter account. Book details can vary by edition. HN data methodology · Book metadata and covers.