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 ...

Get Programming Phoenix now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.