SE-Radio Episode 349: Gary Rennie on Phoenix

Topics covered
Popular Clips
Episode Highlights
Framework
, a core contributor to Phoenix, describes it as a modern web framework focused on real-time capabilities, maintainability, and productivity. Built on the Erlang VM, Phoenix offers fault tolerance and error isolation, setting it apart from other frameworks 1. It supports real-time web applications with dynamic updates, utilizing websockets and long polling 1. Rennie explains that Phoenix is transport agnostic, allowing developers to define custom transports for various applications 1.
Phoenix allows you to have a real-time web application that updates dynamically as things happen.
---
The framework includes features like an API-specific version, Ecto for database management, and a routing layer for path-to-function mapping 2.
Real-Time
Phoenix excels in real-time functionality, providing live updates to HTML without requiring JavaScript frameworks. highlights the ease of adding real-time features without the overhead of additional JavaScript 3. This capability is part of Phoenix's broader real-time communication strategy, which includes handling millions of websocket connections efficiently 4.
It's a way to add bits of real-time functionality without the overhead of, for example, bringing in a JavaScript framework.
---
The framework's design allows developers to focus on building responsive applications with minimal complexity 3.
Routing
Routing in Phoenix is managed through a plug pipeline system, offering a flexible and efficient way to handle requests. explains that the router acts as a plug, determining the controller for each request 5. The request pipeline begins at an endpoint and progresses through various plugs, such as static asset handling and request logging, before reaching the controller 6.
With Phoenix, we tend to say it's plugs all the way down.
---
This modular approach allows for customized pipelines based on request types, enhancing the framework's adaptability 7.
Related Episodes


Episode 394: Chris McCord on Phoenix LiveView
Answers 383 questions

SE-Radio Episode 295: Michael Feathers on Legacy Code
Answers 383 questions
SE-Radio-Episode-249:-Vaughn-Vernon-on-Reactive-Programming-with-the-Actor-Model
Answers 383 questions

SE Radio 594: Sean Moriarity on Deep Learning with Elixir and Axon
Answers 383 questions

SE-Radio Episode 242: Dave Thomas on Innovating Legacy Systems
Answers 383 questions

SE-Radio Episode 279: Florian Gilcher on Rust
Answers 383 questions

SE-Radio Episode 276: Björn Rabenstein on Site Reliability Engineering
Answers 383 questions

SE-Radio-Episode-253-Fred-George-on-Developer-Anarchy
Answers 383 questions

SE-Radio Episode 247: Andrew Phillips on DevOps
Answers 383 questions

SE-Radio-Episode-267-Jürgen-Höller-on-Reactive-Spring-and-Spring-5.0
Answers 383 questions

SE-Radio Episode 313: Conor Delanbanque on Hiring and Retaining DevOps
Answers 383 questions

SE-Radio Episode 243: RethinkDB with Slava Akhmechet
Answers 383 questions

SE-Radio Episode 357: Adam Barr on Code Quality
Answers 383 questions

SE-Radio Episode 362: Simon Riggs on Advanced Features of PostgreSQL
Answers 383 questions














