Wrapping Up

In this chapter, we accomplished a lot. We built a controller for watching videos and laid some foundation so we can play our videos in YouTube. We also created friendly URLs. Along the way:

  • You learned to use Brunch to support development-time reloading and minimization for production code.

  • We used generators to create an Ecto migration.

  • We used changesets to create slugs.

  • We used protocols to seamlessly build URLs from those new slugs.

In the next chapter, you’re going to reach the long-awaited channels topic. You’ll learn to use Phoenix to build fully interactive features that show off Elixir’s concurrency and consistency. Turn the page, because the energy only goes up from here!

Get Programming Phoenix 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.