- Paperback: 300 pages
- Publisher: Pragmatic Bookshelf; 1 edition (April 30, 2016)
- Language: English
- ISBN-10: 1680501453
- ISBN-13: 978-1680501452
- Product Dimensions: 7.5 x 0.6 x 9.2 inches
- Shipping Weight: 1.2 pounds (View shipping rates and policies)
- Average Customer Review: 4.6 out of 5 stars See all reviews (13 customer reviews)
- Amazon Best Sellers Rank: #180,483 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Programming Phoenix: Productive |> Reliable |> Fast 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
O'Reilly Learning Series
Featured 'Learning' Series from O'Reilly Media. See more
Frequently bought together
Customers who bought this item also bought
From the Publisher
Q&A with José Valim, creator of Elixir, and Chris McCord, creator of Phoenix.
José Valim, creator of Elixir, and Chris McCord, creator of Phoenix collaborated with Bruce Tate on Programming Phoenix. They took some time out of their busy days to answer a few questions for Amazon about those two important inventions.
José, why did you create Elixir?
Elixir was created out of a need for writing robust and concurrent software productively. In the last decade, our CPUs are not getting any faster, instead we are getting computers with more and more cores. This change in hardware is affecting how we write software and Elixir reflects that.
José, why did you choose the Erlang VM for Elixir?
The Erlang VM is one of the few runtimes widely deployed in production that was designed for running network services. The Erlang VM provides the foundation that allows Phoenix to be extremely performant while holding 2 million open connections on a single machine. Elixir adds productive and expressive tooling to this robust runtime.
José, was Elixir designed solely for the web?
Elixir was designed to be an extensible language. Throughout the book, we will see how Phoenix and Ecto effectively extend Elixir to provide fast request routing, elegant database queries and more. However, they are two of many examples. As Elixir adoption increases, we will continue to see it being brought to new domains, like data processing and embedded software.
Chris, why did you write Phoenix?
I wanted a Web framework that could take on the modern Web's realtime requirements of many connected devices. I found Elixir and realized it would allow a framework to be both highly productive and have world-class performance. Thus Phoenix was born.
Chris, why is it better than what you used before?
Web frameworks that I had used before gave me the productivity I wanted, but I had to sacrifice performance to get a system that was a joy to program in. At the same time, most languages and frameworks I had experience in scaled very poorly when handling long-running, persistent connections. With Phoenix, we can handle 'millions' of active connections on a single server in a language that is such a joy to use.
Chris, what kinds of apps can benefit?
Any application requiring persistent connections is an obvious benefactor, but even standard HTML5 or JSON API applications see huge benefits when using Phoenix. Programmers often see 'microsecond' response times when using Phoenix for HTML or JSON applications, and this directly results in heightened end-user experiences. We cover both types of applications in Programming Phoenix.
About the Author
Chris McCord, the creator of Phoenix, professionally trains new developers for the rising framework and works with teams adapting it.
Bruce Tate, the author of many award-winning books and creator of the Seven Languages in Seven Weeks series, is the CTO for icanmakeitbetter.com, which is already running Phoenix in production.
Jose Valim, the creator of Elixir and member of the Phoenix core team, is the co-founder and director of research and development at Plataformatec.
If you are a seller for this product, would you like to suggest updates through seller support?
Top Customer Reviews
This book tackles the basic fundamental stuffs of modern web development such as:
1. MVC serve rendering style of web programming
2. Database (Ecto)
3. Authentication (over session and over token for websocket)
4. Real time/websocket (Channel)
6. OTP (breaking down your Phoenix app into small supervised apps to avoid monolithic design)
7. How to test all of the 1-6 components above
This is a must have book for people interested in Phoenix and Elixir.
There are a lot of magic in Phoenix, like Rails, but the concepts are easy to grasp once you repeat the book few times. Coming from NodeJS world where everyone does their own thing, and there's no convention. I'd say Phoenix embraces a nice balance, having solved many things under the hood by using macros, provide great developer experience and convention, but at the same time not overly complicated to understand.
Not too mention that it solves your scalability in real time applications that are self-healing, fault tolerance, great tooling because Elixir itself is super awesome! This framework is truly an amazing framework, for those that seeks to replace Rails to embrace the new web, where everything is massively connected real-time.
Amazing work Chris McCord!!
Chris has the talent in articulate what he knows to other developers. If you are looking for a practical approach to productive, reliable, high-performance web development is book is for you. This is a type of book we can get our hands dirty developing while going through the content of the book.