phoenix

Walk-Though of Phoenix Live View

It's here! Phoenix Live View leverages server-rendered HTML and Phoenix's native WebSocket tooling so you can build fancy real-time features without all that complicated JavaScript. If you're sick to death of writing JS (I had a bad day with Redux, don't ask)…

How We Used Elixir's GenServers + Dynamic Supervisors to Build Concurrent, Fault Tolerant Workflows

"Concurrent" and "fault tolerant" are Elixir buzzwords that I heard again and again without actually seeing these features in action. Even after writing a fair amount of Elixir code, I still hadn't had an opportunity to meaningfully use them. So how can we leverage…

Improving UX with Phoenix Channels & React Hooks

This is a guest post by Alex Griffith [https://www.linkedin.com/in/alexgriff], originally published on the Flatiron Labs blog [https://medium.com/flatiron-labs]. Alex is an engineer at The Flatiron School. He is also an incredibly talented teacher who happens to have a hilarious twitter handle [https://twitter.…

JWT Auth in Phoenix with Joken

JSON Web Tokens [https://jwt.io/introduction/], or JWTs, allow us to authenticate requests between the client and the server by encrypting authentication information into a secure, compact JSON object that is digitally signed. In this post, we'll use the Joken [https://github.com/bryanjos/joken] library to…

Check Out my Empex Talk on Phoenix Channels: The Right Way to Track Users in Real-Time

I attended Empex [http://empex.co/] last year for the first time. Empex is an awesome, dynamic, inspiring, one-day Elixir conference. As an Elixir newbie, I had no idea what anyone was talking about. And I hated it! (Okay, I kind of loved it). It really gave me a kick…