O'Reilly logo

Programming Phoenix by Jose Valim, Bruce Tate, Chris McCord

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Phoenix Clients with ES6

We’re going to start on the client, using the latest ECMAScript 6[21] JavaScript features. We’ll build a bare-bones client to simply establish a connection. Over time, we’ll build up our client to add annotations and play them back.

Remember, each Phoenix conversation is on a topic, so we’ll need to be able to identify a topic. In our case, our topics will be videos. We’ll create a Video object. That client-side construct will connect to Phoenix directly.

Chris says:
Chris says:
Why ES6/ES2015 JavaScript?

Language features you’ve wished for years to land in JavaScript—string interpolation, a module system, destructuring assignment, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required