Phoenix in Action is an example-based tutorial that teaches you how to use the Phoenix framework to build production-quality web apps. Following a running example of an online auction site, you'll design and build everything from the core components that drive the app to the real-time user interactions where Phoenix really shines. You'll handle business logic, database interactions, and app designs that take advantage of functional programming as you discover a better way to develop web applications. And if you're brand new to Elixir, don't worry! You'll find a Phoenix-oriented tour of the language, along with careful explanations, tips, and coding idioms scattered throughout the example code. what's inside A complete online auction example developed throughout Database interactions with Ecto Using Channels for real-time communication Functional ideas in a web environment An introduction to the Elixir programming language about the reader Written for web developers familiar with a framework like Rails or ASP.NET. No experience of Elixir or Phoenix required.
One of the 2 books on Phoenix available on the market (AFAIK), PiA has been finally published, so I jumped on it straight away - I feel strongly connected to Erlang/Elixir ecosystem & even if I'm already more than familiar with Phoenix I need to know what is worth recommending to people who are beginning their journey in the BEAM world. And learning something new on the way is a big pro :)
My expectations were quite high, because Juric's Elixir in Action was perfectly suited for me, I've falling in love with Elixir after reading it (before, I was treating this language as some sort of skunkworks experiment not really worth the attention, because well - we have Erlang, right?).
To keep the long story short, I didn't fall in love with PiA. Why so? 1. Veeeeeery slow start. Instead of focusing on Phoenix itself (& presenting it in more detail) author assumes the reader doesn't know Elixir, so he provides the crashcourse on the language itself. There's short Phoenix intro around page 45, but the real meat starts ... around 152 ... Seriously, who would reach for the book without knowing what Elixir is? I could accept this deficiency if the Elixir intro was truly inspiring, striking, unique & really encouraging to get the reader more hype - nah, it's nothing like that, pretty much a standard one 2. ... and in the consequences the rest of the book is just a sprint through tutorialesque basics - they give you the overview of syntax, without much depth, without indication places for extensibility, without real-life hints and suggestions - ultra brief chapter on plugs, channels, API, testing ... and we're done.
Community was waiting a really long time for this book, but ... I barely see the point of it. It doesn't go far beyond hello world tutorial level - the only advantage is that you have 3 tutorials in the very same place: Elixir, Ecto & Phoenix. If you're interested in learning Phoenix, I strongly suggest reaching for "Programming Phoenix", especially as in 1-2 months this book will get an "upgrade" to cover Phoenix 1.4.
In the end it's 3.2-3.5 stars, rounded down to 3. Sad panda :(
A very readable, organized overview of how to set up a Phoenix app. I like how the author makes the clear separation between the functionality of the app and the functionality that Phoenix adds to the app to web-enable it. This doesn't cover LiveView, which was not released at the time.
Easy to read with easy to follow examples for Phoenix. I think the web project presented in the book is a good start to people who want to write web apps with Phoenix. It covers all the main topics to build a web app as the book goes along with building an auction site. The other approach, possible in writing such a book, which would be, presenting various topics of Phoenix, with independent examples specific to each topic, with deeper information, would contain more detailed information maybe, however, as a newcomer, I'd prefer a whole app to be built from strach, showing -sort of- the big picture in Phoenix development, to me.
On the flip side, however, the Elixir tutorial type intro in the beginning sections are not necessarily to be present in this book as it is about Phoenix, not Elixir.
Overall, I'm good with the book. I'd recommend it to people to learn Phoenix.