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

Chapter 3Controllers, Views, and Templates

By now, you should have a loose grasp of how Phoenix applications work. You know that a typical request starts at an endpoint, flows through a router, and then flows into a controller. You should be starting to appreciate that web programming is a functional problem, and that it’s natural to represent it using a functional language.

As we promised, we’re going to abandon our brief Hello, World application. For the rest of the book, we’re going to work in a new project, and we’ll continue developing it through to the end. Before we get started, though, let’s take a deeper look at how controllers work.

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