Live data from Hacker News

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

phoenixframework.org

1–10 of 249 posts

Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5

#3

We are really excited about this release! I also wanted the screencast to be a single take, so I'm happy to answer questions if there are gaps to fill in for things I could have explained more clearly.

Thanks for putting this together, Chris :)

Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5

#6

We are really excited about this release! I also wanted the screencast to be a single take, so I'm happy to answer questions if there are gaps to fill in for things I could have explained more clearly.

Great work! I think the phoenix framework project really recognizes the power of "Defaults". Defaults for dev, user interaction, server, and client. Make useful things quick but also learn how and why they are chosen.

Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5

#7

Looks interesting but I am not interested in making timelines .. is this Phoenix framework general enough to make arbitrary real time web apps?

Absolutely. We have extremely varied usage in the wild. From sports/content websites with tens of millions of users (bleacher report, cars.com), to folks running social/chat services with millions of persistent connections, to folks running Phoenix on embedded systems. And as you would expect, there's a ton of "boring business app / JSON API" usage in there as well, so we have a good story about generalized use. The goal of the screencast, as I outlay in the beginning is to show how easy LiveView makes it to build interactive and real-time applications, and a social timeline was a decent way to do that ¯\_(ツ)_/¯

Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5

#8

We are really excited about this release! I also wanted the screencast to be a single take, so I'm happy to answer questions if there are gaps to fill in for things I could have explained more clearly.

First of all, great demo, and great showcase for this technology. I think it did a great job of showing its strengths to traditionally backend developers like me.

I also appreciated the twitter analogy. I just couldn't help but think "Wait, Twitter doesn't have 'Update/Edit Post'!" :)

I've heard that Blazor in the .net world has similar goals to LiveView, but I haven't gotten into it much. Can anyone confirm?

Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5

#9

Looks interesting but I am not interested in making timelines .. is this Phoenix framework general enough to make arbitrary real time web apps?

Happy LiveView user here :) Can confirm it can be used in many scenarios. One of my favorites is streaming realtime data to a chart. I serialize my data as JSON in the LiveView template and read it back in from a Hook. Saves me time by not having to create a separate API endpoint. e.g.

  "
   data-amounts=""
  >
   
   
  

Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5

#10

Looks interesting but I am not interested in making timelines .. is this Phoenix framework general enough to make arbitrary real time web apps?

I'm currently using it to make a restaurant POS. It's very flexible. Everything composes like lego pieces in a very clean and straightforward way with surprisingly little magic.
Post reply on HN