Skip to Main Content
Programming Phoenix
book

Programming Phoenix

by Chris McCord, Bruce Tate, Jose Valim
April 2016
Beginner to intermediate content levelBeginner to intermediate
300 pages
6h 58m
English
Pragmatic Bookshelf
Content preview from Programming Phoenix

The Controller

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 ...

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.
Start your free trial

You might also like

Programming Elm

Programming Elm

Jeremy Fairbank
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781680501926Errata Page