Understanding the controller's structure

We have a lot of work that we need to do to be able to start putting this all together and it would be very easy to get lost in the weeds, so we're going to focus down a little bit on the work that we need to do and start very small. In fact, we're not even going to build out our database schema or anything yet; instead, we'll prototype with simple data structures and, over time, build on top of those to turn them into something more usable and production-ready! We'll start by creating a brand new file in our project.

If you take a look at the /lib/vocial_web/ controllers you'll see that we start off with a page_controller.ex file first. This is the default controller that gets created for every Phoenix ...

Get Phoenix Web Development 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.