Programming Phoenix: Productive |> Reliable |> Fast Front Cover

Programming Phoenix: Productive |> Reliable |> Fast

  • Length: 300 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-04-30
  • ISBN-10: 1680501453
  • ISBN-13: 9781680501452
  • Sales Rank: #703909 (See Top 100 Books)
Description

Don’t accept the compromise between fast and beautiful: you can have it all. Phoenix creator Chris McCord, Elixir creator Jose Valim, and award-winning author Bruce Tate walk you through building an application that’s fast and reliable. At every step, you’ll learn from the Phoenix creators not just what to do, but why. Packed with insider insights, this definitive guide will be your constant companion in your journey from Phoenix novice to expert, as you build the next generation of web applications.

Phoenix is the long-awaited web framework based on Elixir, the highly concurrent language that combines a beautiful syntax with rich metaprogramming. The authors, who developed the earliest production Phoenix applications, will show you how to create code that’s easier to write, test, understand, and maintain.

The best way to learn Phoenix is to code, and you’ll get to attack some interesting problems. Start working with controllers, views, and templates within the first few pages. Build an in-memory repository, and then back it with an Ecto database layer. Learn to use change sets and constraints that keep readers informed and your database integrity intact. Craft your own interactive application based on the channels API for the real-time, high-performance applications that this ecosystem made famous. Write your own authentication components called plugs, and even learn to use the OTP layer for monitored, reliable services. Organize your code with umbrella projects so you can keep your applications modular and easy to maintain.

This is a book by developers and for developers, and we know how to help you ramp up quickly. Any book can tell you what to do. When you’ve finished this one, you’ll also know why to do it.

What You Need:

To work through this book, you will need a computer capable of running Erlang 17 or better, Elixir 1.1, or better, Phoenix 1.0 or better, and Ecto 1.0 or better. A rudimentary knowledge of Elixir is also highly recommended.

Table of Contents

Chapter 1. Introducing Phoenix
Part I. Building with Functional MVC
Chapter 2. The Lay of the Land
Chapter 3. Controllers, Views, and Templates
Chapter 4. Ecto and Changesets
Chapter 5. Authenticating Users
Chapter 6. Generators and Relationships
Chapter 7. Ecto Queries and Constraints
Chapter 8. Testing MVC

Part II. Writing Interactive and Maintainable Applications
Chapter 9. Watching Videos
Chapter 10. Using Channels
Chapter 11. OTP
Chapter 12. Observer and Umbrellas
Chapter 13. Testing Channels and OTP
Chapter 14. What’s Next?

To access the link, solve the captcha.