HN 精选

Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5

Chris McCord
7 人推荐 · 跨 6 个月 · 2020–2025
函数式编程Web 开发
Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5

中文导读

Phoenix 框架作者 Chris McCord 仅用约 15 分钟,基于 Phoenix LiveView 1.5 现场写出一个类 Twitter 的全实时交互应用,全程不写一行 JavaScript 就实现了丝滑的实时双向响应。

为什么 HN 推它

向外界安利 Elixir 和 LiveView 时必甩的王牌演示,看完就能秒懂为什么这种服务端驱动 UI 的范式值得一试。

「这个演示彻底震撼到了我,简直颠覆认知。」HN 网友原话:the demo completely blew my mind
英文原摘要(HackerTube / Claude 整理)

Phoenix creator Chris McCord builds a real-time Twitter-style app live with Phoenix LiveView 1.5 in about 15 minutes. It shows interactive, real-time updates without writing JavaScript.

HN points people to it as the demo that shows why LiveView and Elixir are worth a look.

HN 上的提及

rec bigbassroller · 2020-06 · HN 原文
you can build a Twitter timeline clone in under 18 minutes using Phoenix LiveView
rec mercer · 2020-09 · HN 原文
This one's also pretty good
strong_rec realusername · 2020-12 · HN 原文
Never before I've been so bluffed by a new technology
strong_rec staticelf · 2020-12 · HN 原文
the demo completely blew my mind
strong_rec realusername · 2020-12 · HN 原文
Phoenix LiveView really is a game changer, you should have a look at Elixir just for that.

相关视频