small medium large xlarge

Build Real-Time Web Apps with Phoenix

by

Cover image for Build Real-Time Web Apps with Phoenix

Build Real-Time Web Apps with Phoenix

by

Build real-time apps with ease using Phoenix. In this screencast series, get a brief introduction to the Elixir language features you’ll use to build web applications, then create an application that helps you understand Phoenix’s router, controllers, views, and templates. Build a simple model, then explore Phoenix’s Channels as you communicate seamlessly across clients in real time. When you’re done, you’ll have a solid understanding of how to put Phoenix to work in your own projects.

This screencast covers Phoenix version 1.2.

Choose Episodes

All the episodes in this series have been released.

  • Screencasts are DRM free.

About this Title

Available in: DRM-free iPod/iPhone 3 Video, iPad/iPhone 4 Video, and Theora Ogg
Download and watch when and where you want

Phoenix is a web framework for the Elixir programming language that makes programming real-time web applications easy and fun. It builds on the foundations of MVC frameworks by amplifying their strengths and learning from their weaknesses.

This screencast shows you how to get started with both Elixir and Phoenix. Throughout the series you’ll develop a simplified version of a collaborative writing tool, where everything one client types is broadcast to every other connected client.

In episode one, review the important Elixir features and concepts that Phoenix uses most, such as functions, modules, pattern matching, and piping.

In episode two, create the basic user interface for the application, making a landing page and a mechanism for building a new collaborative workspace. Along the way, work with routing, controllers, views, and templates, and create a simple model to show how things fit together.

In episode three, finish the application by adding in Phoenix Channels to power the real-time features of the application. See how easy it is to send data back and forth between the client and server using Elixir and JavaScript, thanks to the simple yet powerful JavaScript library included with Phoenix. You’ll end up with a real-time app you can use as the basis for your own work.

What You Need: You’ll need your text editor and the Elixir programming language installed on your computer. You’ll also want some background in a framework like Ruby On Rails, Laravel, Django, or a similar MVC framework. JavaScript experience is helpful but not required.

What You Need

You’ll need your text editor and the Elixir programming language installed on your computer. You’ll also want some background in a framework like Ruby On Rails, Laravel, Django, or a similar MVC framework. JavaScript experience is helpful but not required.

Contents & Extracts

Episode 1: A Review of Elixir

Episode 2: Building Your First App

Episode 3: Updating Clients with Channels

Author

Brian P. Hogan is web developer, author, and editor who loves making things with Ruby and Elixir. He’s currently working on Codecaster.io, powered by Phoenix.