Wrapping Up
We packed a ton into this chapter. Let’s summarize what you’ve done:
-
We created our first context that encapsulates all of the logic related to account management.
-
We created actions, which serve as the main point of control for each request.
-
We created views, which exist to render templates.
-
We created templates, which generate HTML for our users.
-
We employed helpers, which are simple Phoenix functions used in templates.
-
We used layouts, which are HTML templates that embed an action’s HTML.
In the next chapter, we’re going to go back to the context, which we’ve implemented with a simple in-memory list, with a database backend using Ecto. By the time we’re done, we’ll be reading our users from the database and entering new users with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access