Erlang Factory SF 2016 Keynote Phoenix and Elm – Making the Web Functional
Erlang SolutionsRecommended by 2 HN commenters across 3 months, 2016–2022
talk · intermediate · 2016–2022 on HN
A joint Erlang Factory 2016 keynote by Phoenix creator Chris McCord and Elm creator Evan Czaplicki on using the two together, including Phoenix.Presence design and PubSub optimizations.
Pointed to as the best source on Phoenix Presence internals and for combining Phoenix with Elm.
Up next
3 mo on HNPandora's Box, E1: The Engineers' Plot
nagualdesign
Recommended 3× on HN · 2014–2025
6 mo on HNThe Patent Scam Intro
Austin Meyer
Recommended 6× on HN · 2016–2022
3 mo on HNSlavoj Žižek on "They Live" (The Pervert's Guide to Ideology)
Christian G
Recommended 3× on HN · 2020–2026
2 mo on HNNest Protect is a terrible buggy product
Brad Fitzpatrick
Recommended 2× on HN · 2015–2025
4 mo on HNSlavoj Žižek + Paul Holdengräber "Surveillance and whistleblowers" - International Authors' Stage
Det Kgl. Bibliotek
Recommended 3× on HN · 2014–2016
10 mo on HNErlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsApp
Erlang Solutions
Recommended 6× on HN · 2014–2022
18 mo on HNRuby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich
Confreaks
Recommended 17× on HN · 2013–2026
14 mo on HNThe Soul of Erlang and Elixir • Sasa Juric • GOTO 2019
GOTO Conferences
Recommended 16× on HN · 2019–2024
14 mo on HN"Simple Made Easy" - Rich Hickey (2011)
Strange Loop Conference
Recommended 14× on HN · 2022–2026
13 mo on HN"Making Impossible States Impossible" by Richard Feldman
elm-conf
Recommended 9× on HN · 2017–2026
12 mo on HNWilliam Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]
PapersWeLove
Recommended 11× on HN · 2017–2026
11 mo on HNThe Value of Values with Rich Hickey
InfoQ
Recommended 10× on HN · 2014–2023
6 comments from Hacker News
Speaking of Elm I liked this video from Erlang Factory about using Phoenix and Elm together. They both have a functional flavors so I think it might appeal to same people: ▶ this video The first half is about Phoenix, the second about Elm. I don't know much about front-end stuff but I did like the Elm bit as an intro, especially the debugging and nice error messages part.
There is a nice talk from Erlang Factory 2016 called "Making the Web Functional with Phoenix and Elm" ▶ this video
My Erlang Factory keynote also goes into the design considerations and PubSub layer optimizations that sits underneath Phoenix.Presence: ▶ this video
Chris McCord had fun implementing a CRDT in Phoenix.Presence: ▶ this video (from about 17 mins by the looks of things).
I wonder if the same might happen to Elm, should Phoenix adopt it as their browser language of choice. There's definitely a connection there -- for what it's worth, the keynote at 2016's Erlang Factory conference was a shared talk between Chris McCord (creator of Phoenix) and Evan Czaplicki (creator of Elm), "Making the Web Functional" [0] [0] ▶ this video
The Phoenix Framework (web framework for Elixir) already solves this for you.[1] It's called Phoenix.Presence. They used a combination of CRDTs with heartbeats to implement it. You are right, it is a hard problem because of the distributed nature of Erlang/Elixir. That's why Chris provided a framework level solution for it. [1] ▶ this video (Erlang Factory SF 2016 Keynote Phoenix and Elm – Making the Web Functional)