O'Reilly logo

Programming Phoenix by Jose Valim, Bruce Tate, Chris McCord

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part 1Building with Functional MVC

In Part I, we’ll talk about traditional request/response web applications. We’ll walk through the basic layers of Phoenix in great detail. You’ll learn how to structure your application into small functions, with each one transforming the results of the previous ones. This pipeline of small functions will lead to the controller, from where we call models and views, but splitting the responsibilities slightly differently from what you’ve seen elsewhere. You’ll explore a new, functional take on the existing model-view-controller pattern. You’ll also learn to integrate databases through the Ecto persistence layer and even build your own authentication API. Then, you’ll learn to test what you’ve built so far. In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required