Chapter 3. A little Phoenix overview


This chapter covers

  • What Phoenix is and how it relates to Elixir
  • The flow of a web request through Phoenix’s structure
  • An overview of the different modules you’ll create in this book
  • The transformation of data as it flows from one place to the next
  • The basic structure of a blogging application built on top of Phoenix

In the last chapter, you learned some of the basics of the Elixir programming language. If it was your first experience with the language, I hope you spent some time in an IEx session to play with different concepts and see how things work. We’ll be looking at and writing a lot of Elixir from this point on.

In this chapter, we’ll look at an example Phoenix application—one that isn’t too complex and, to be honest, doesn’t really do all that much. But we’ll look at it from a bird’s-eye view, so we don’t want complexity. We just want to look at the basics of how a Phoenix application is pieced together. In later chapters, you’ll build a much more complex web application from the ground up, and we’ll dive deeper into the topics introduced here.

3.1. Follow the data

3.2. Putting it all together