April 2016
Beginner to intermediate
300 pages
6h 58m
English
In this chapter, we focus on building the controllers, views, and templates. Though Phoenix has generators that could generate much of a simple web app from scratch, we’re going to build part of it by hand so we can appreciate how the parts fit together. Before we fire up the generators, let’s talk about how the controller hangs together.
Our application will be called rumbl. When we’re all done, the application will allow us to take videos (hosted elsewhere) and attach comments to them in real time and play them back alongside the comments of other users. Think of it as Mystery Science Theater 3000 meets Twitter: At scale, this application will be tremendously demanding because each user will record and play back comments that ...