Phoenix Web Development
上QQ阅读APP看书,第一时间看更新

Summary

We’re now at a point where we have a good baseline to work from for our Poll Controller, which means we're also at a point where we can start transitioning from here into the work for our data side of things. In the next chapter, we’ll start diving into Contexts and Schemas and try to get a good working understanding of integrating a data model into our Phoenix application (and a lot of the design decisions that influence the current structure and why those decisions were made)!

So, now that we know how to glue together the different parts of our application and we understand a few of the pieces that are getting assembled, we need to explore what is arguably one of the largest and more complex pieces of the request/response puzzle: the database! We'll take a deep dive into Ecto and, of course, write good tests to cover any new code we write!