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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.