Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

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

    Chris McCord

    7 HN recommenders · recommended in 10 months, 2020–2025

    YouTube

    17:55 · 237K views · Apr 22, 2020

    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.

    Software Engineering & LanguagesFunctional programmingWeb development
    1. 1:12:41
      Chris McCord - Keynote: Phoenix LiveView - Interactive Apps without Javascript - ElixirConf EU 2019Code Sync47K views • 7 years ago
    2. 57:50
      ElixirConf 2018 - Keynote - Chris McCordElixirConf32K views • 8 years ago
    3. 1:05:33
      Keynote: The Road To LiveView 1.0 by Chris McCord | ElixirConf EU 2023Code Sync27K views • 3 years ago
    4. 55:28
      Erlang Factory SF 2016 Keynote Phoenix and Elm – Making the Web FunctionalErlang Solutions23K views • 10 years ago
    5. 28:34
      RailsConf 2016 - Rails to Phoenix by Brian CardarellaConfreaks12K views • 10 years ago
    6. 59:31
      ClojureScript in the Age of TypeScript — David NolenChariotSolutions29K views • 5 years ago
    7. 1:50:07
      JSON Parser 100% From Scratch in Haskell (only 111 lines)Tsoding205K views • 6 years ago
    8. 5:27
      Live ClojureScript Game Editoribdknox34K views • 14 years ago
    9. 45:31
      Bruce Hauman - Developing ClojureScript With FigwheelClojureTV56K views • 11 years ago
    10. 16:04
      Redoing Make - Haskell from Scratch #1jekor57K views • 13 years ago
    11. 37:34
      Zach Oakes - Making Games at Runtime with ClojureClojureTV31K views • 11 years ago
    12. 41:09
      ClojureScript for Skeptics - Derek SlagerClojureTV72K views • 10 years ago
    13. 42:03
      The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019GOTO Conferences384K views • 7 years ago
    14. 1:18:42
      Web Development in Emacs, Common Lisp and Clojurescript - Emacs SGEngineers.SG14K views • 10 years ago
    15. 1:10:16
      Saša Jurić - Parsing from first principles - WebCamp Zagreb 2019WebCamp Zagreb6.3K views • 6 years ago
    16. 28:39
      Netflix JavaScript Talks - Async JavaScript with Reactive ExtensionsMatt Marenghi70K views • 12 years ago
    17. 36:45
      Rich Harris - Rethinking reactivityYou Gotta Love Frontend334K views • 7 years ago
    18. 46:18
      Om Next - David NolenClojureTV44K views • 11 years ago
    19. 50:11
      Twitter’s Quest for a Wholly Graal Runtime by Chris ThalingerScala Days Conferences3.2K views • 8 years ago
    20. 1:14:52
      Effective Programs - 10 Years of Clojure - Rich HickeyClojureTV176K views • 9 years ago

    13 comments from Hacker News

    1. @realusernameDec 2020· in “Ruby 3.0 and the new FiberScheduler interface”

      > But I'm wondering if it brings enough other advantages that I shouldn't view it that simplistically. So to start with, Phoenix LiveView really is a game changer, you should have a look at Elixir just for that. This is the talk which really bluffed me when I first saw it: this video . For the other upsides, I like a little bit better the way everything is architectured in Phoenix, there's much less magic and it's easier to follow the data flow and what is going on.

      Strongly recommendsView on HN
    2. @realusernameDec 2020· in “Ask HN: Best Talks of 2020?”

      My favorite talk is the Live View twitter demo on my case: this video . Never before I've been so bluffed by a new technology, he's building a small twitter clone in 20min with live reload, browser sync and everything, this would take days with any other traditional tech I know.

      Strongly recommendsView on HN
    3. @staticelfDec 2020· in “Ask HN: Best Talks of 2020?”

      I think the "talk" by Chris McCord should apply here "Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5", while not really a talk this year was special and the demo completely blew my mind. it's available here: this video

      Strongly recommendsView on HN
    4. @dmitriidMar 2023· in “Phoenix Dev Blog – Streams”

      Liveview solves the "write a fully dynamic and interactive application with next to zero Javascript that you need to write by hand" or, if you will, "server-driven UI apps". And it's hard to overstate, but to also properly explain, how important this is and how it feels like magic when you do it. Because it lets you tap into everything Elixr (and Erlang VM) have to offer on the backend without ever having to think of "how the hell do I bring all that to the client". My use-cases are: a big chunk of data is being processed, and while its being processed regular updates are sent over PubSub. Most actions a user initiates are long-ish-running and their updates are also sent over PubSub. Things that other users are doing are sent over PubSub and possibly need to be reflected in the UI. In "traditional" JS-on-the-client-whatever-on-the-server model you have a plethora of questions of how to get that to UI: which endpoints to query, which updates to send over the wire, the formats, the frequence, authorisation, auth... With LiveView your "client" is an Elixir view living on the server which just updates the view based on those PubSubs (or timers, or Kafka streams, or user-initiated actions, or...) and LiveView takes care of upating the DOM/HTML in the browser. "Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5" will give a good overview of this: this video [1] Built-in in Phoenix, [LINK]

      RecommendsView on HN
    5. @sodapopcanJan 2021· in “StimulusReflex, or LiveView for Rails”

      Even with tooling getting better, you're still faced with creating an API to the backend that has a high chance of your frontend being the only ever consumer of it. You're also faced with duplicating logic on both front and backends in many scenarios (though of course this can be mitigated with a node backend? I don't know... I've never used node). As for latency, this is over websockets. It becomes a problem if you are connecting to a server across the ocean but otherwise, it's incredibly fast and feels just as snappy as JS. I actually also haven't used Stimulus Reflex, just Phoenix LiveView so I'm not sure if they are exactly the same, but the TL;DR is that they are sending VERY tiny payloads over websockets. This video explains it well (though it's also a demo of LiveView): this video

      RecommendsView on HN