HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

ElixirConf 2018 - Keynote - Chris McCord

ElixirConf6 HN recommenders · recommended in 4 months, 2018-2019
YouTube
32K views · 8 years ago · talk · dated

Chris McCord's ElixirConf 2018 keynote introduces Phoenix LiveView, which renders HTML on the server and updates the page over websockets. It includes a demo showing that latency is not the bottleneck one might expect.

HN recommends it as the original LiveView announcement and demo, a compelling argument for server-side rendering as an alternative to JavaScript front ends.

Functional programmingWeb development#elixir#phoenix#liveview#server-siderendering#websockets

8 comments from Hacker News

@jeremy_k2019 · in “Lumen: An alternative BEAM implementation, designed for WebAssembly”

I can't give a deep comparison since I haven't done anything too deep with LiveView (yet!) but I would encourage you to watch the keynotes on LiveView[1][2] if you're really interested. I have spent the last few years working with React / Redux on a big SPA and I believe the entire thing could easily be supported by LiveView; we don't do anything fancy, its basically just a bunch of CRUD based pages. Another shallow comparison is that LiveView isn't meant to compete with modern progressive SPAs. While it can update the DOM with data from the server and is very good at doing that, it has limitations such as no offline support. Chris (the speaker in the videos) also notes that if your clients require very good latency or a very complex UI (think Google Sheets) then a JS framework will probably better suit your needs. However, if you're building out a majority of websites (CRUD type pages) that a lot of us web developers do, my personal opinion is that LiveView will be able to everything needed. [1] Announcing LiveView @ ElixirConf 2018 - ▶ this video [2] LiveView Update @ ElixirConf 2019 - link

RecommendsView on HN
@lelf2019 · in “Ask HN: What happened to server-side rendering?”

Phoenix.LiveView — you can't ignore it, the coolest thing happening right now about server-side rendering. Demo: ▶ this video Links: link link PS please stop calling it isomorphic — this is disgrace for the mathematics.

Strongly recommendsView on HN
@sfusato2019 · in “Phoenix: LiveView”

Check the demos here (look at the snake game regarding latency concerns): link Or look at the ElixirConf keynote: ▶ this video (the video starts at 41:43 showcasing a cool demo where you would expect the latency to be a bottleneck, yet it's not)

RecommendsView on HN
@karthikksv2019 · in “Show HN: Purview – A server-side component framework”

Yes, that was my inspiration! Chris gave a great talk about it at ElixirConf is anyone is interested in watching: ▶ this video Some differences compared to LiveView: - Type-checking: there are extensive JSX typings ( link ) that ensure you're attaching event handlers with the correct signatures, specifying supported props, using valid HTML tags and attributes, etc. Static-typing guarantees are one of my big priorities. - I'm not sure if LiveView intends to support nested components like React does. Having the ability to split up complex pages into components that you can nest and reuse (with mostly one-way data flow) is a key part of maintainability. I wanted to maintain a very familiar React interface, so you can pick up Purview quickly if you're comfortable with React.

RecommendsView on HN
@snake1172019 · in “Ask HN: Hardware guy needs to learn web application development – what language?”

If you are feeling a bit adventurous and open-minded as you begin this venture, I would highly suggest looking into Elixir and Phoenix, especially since you are asking for "...best bang for the buck". In fact, the 1.8.0 release for Elixir was just announced earlier today here: link ( link ) What makes Phoenix great is that, not only is it blazing fast, but the framework serves as more of a web interface to your application as oppose to "taking over" your application, like with other major frameworks. Moreover, you get the full power of Erlang and OTP as well. I will have to say that some things are a little rough still, like deploying your application. This process is not as smooth as what you would experience with a Rails or Django app, but it will definitely get better over time. One of the features of Phoenix that is also really exciting is LiveView. If you have some time, definitely check out Chris McCord's 2018 keynote: ▶ this video There are a lot of great books and resources to explore. I listed a few below: link link link (just released) link link With regards to Python, I cannot give too much recommendation as I have experience in Ruby/Rails and Elixir/Phoenix primarily. However, if you really want to begin building, stick with Python, since you already have experience with that language, and look into a popular framework, like Django or Flask.

RecommendsView on HN
@neya2019 · in “Ask HN: Go-to web stack today?”

If you didn't provide constraints (node/react), I would use the following. Please note, this is highly opinionated, so nothing to get offended or upset about. I like to keep my stack simple: A. Simple static sites: - Jekyll B. Medium complexity, CRUD applications: - Phoenix/Elixir - Coffeescript Note: With the latest version of Phoenix, you absolutely don't any JS frontends at all. Watch they keynote presentation for the liveview demo: ▶ this video C. Complex Web applications: - Phoenix/Elixir - GraphQL/Absinthe - VueJs + Vuex + Coffeescript Developing with Phoenix/Elixir is so much better than any of the node frameworks in the ecosystem - this has consistently been my experience. So, give it a shot if you can.

RecommendsView on HN
@mercer2018 · in “Evergreen: a React UI Framework built by Segment”

> If I had to guess, I would guess that React will still be around in 5 years, but I'm not sure web components will. I agree, and this is why I use React (or rather Preact) for both apps and interactive elements on the page. The big caveat is that in practice it's really easy to end up with a React project that is much more difficult to maintain compared to a monolithic framework (Ember, Angular, Vue, even), because of all the other crap that might be used to take care of all the stuff React doesn't do. For example, I recently took on a React project that used a whole bunch of other packages for state management, routing, etc., and a number of those packages were no longer supported (or outright compromised). While it's nice that React is still React, a lot of these other packages are tightly woven into the whole 'fabric' (react-swipeable-redux-router type stuff). For my part, when I start a React project I try to minimize these problems by generally avoiding react-specific packages. So instead of react-router (which had its share of non-backwards-compatible updates), I'll just use page.js for routing. In some cases I might use the reactified version (Redux comes to mind, but I avoid that most of the time for smaller stuff). This still isn't a panacea, and as a result I've been moving more and more stuff to a more 'vanilla' Railsy backend (Elixir/Phoenix, specifically). While the ecosystem does seem to be stabilizing a bit, it's still insane, and thankfully there are or will

CitesView on HN
@mrdoops2018 · in “The “Developer Experience” Bait-And-Switch”

Don't even need Ajax anymore. You can render on the fly, and deliver new HTML over websockets. The gap between SPA and classic server-side rendering is getting smaller fast. ▶ this video

CitesView on HN
Chris McCord - Keynote: Phoenix LiveView - Interactive Apps without Javascript - ElixirConf EU 20191:12:41

Chris McCord - Keynote: Phoenix LiveView - Interactive Apps without Javascript - ElixirConf EU 2019

Code Sync
47K views • 7 years ago
Keynote: The Road To LiveView 1.0 by Chris McCord | ElixirConf EU 20231:05:33

Keynote: The Road To LiveView 1.0 by Chris McCord | ElixirConf EU 2023

Code Sync
27K views • 3 years ago
Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.517:55

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

Chris McCord
237K views • 6 years ago
Erlang Factory SF 2016 Keynote  Phoenix and Elm – Making the Web Functional55:28

Erlang Factory SF 2016 Keynote Phoenix and Elm – Making the Web Functional

Erlang Solutions
23K views • 10 years ago
ElixirConf 2019 - Day 1 Morning Keynote - Brian Cardarella, Luke Imhoff, Paul Schoenfelder1:11:55

ElixirConf 2019 - Day 1 Morning Keynote - Brian Cardarella, Luke Imhoff, Paul Schoenfelder

ElixirConf
8K views • 7 years ago
RailsConf 2016 - Rails to Phoenix by Brian Cardarella28:34

RailsConf 2016 - Rails to Phoenix by Brian Cardarella

Confreaks
12K views • 10 years ago
Live ClojureScript Game Editor5:27

Live ClojureScript Game Editor

ibdknox
34K views • 14 years ago
Web Development in Emacs, Common Lisp and Clojurescript - Emacs SG1:18:42

Web Development in Emacs, Common Lisp and Clojurescript - Emacs SG

Engineers.SG
14K views • 10 years ago
ElixirConf 2023 - José Valim - The foundations of the Elixir type system1:11:42

ElixirConf 2023 - José Valim - The foundations of the Elixir type system

ElixirConf
38K views • 3 years ago
ClojureScript in the Age of TypeScript — David Nolen59:31

ClojureScript in the Age of TypeScript — David Nolen

ChariotSolutions
29K views • 5 years ago
ElixirConf 2018 - Docker and OTP Friends or Foes - Daniel Azuma38:53

ElixirConf 2018 - Docker and OTP Friends or Foes - Daniel Azuma

ElixirConf
16K views • 8 years ago
Bruce Hauman - Developing ClojureScript With Figwheel45:31

Bruce Hauman - Developing ClojureScript With Figwheel

ClojureTV
56K views • 11 years ago
Om Next - David Nolen46:18

Om Next - David Nolen

ClojureTV
44K views • 11 years ago
Zach Oakes - Making Games at Runtime with Clojure37:34

Zach Oakes - Making Games at Runtime with Clojure

ClojureTV
31K views • 11 years ago
ClojureScript for Skeptics - Derek Slager41:09

ClojureScript for Skeptics - Derek Slager

ClojureTV
72K views • 10 years ago
Netflix JavaScript Talks - Async JavaScript with Reactive Extensions28:39

Netflix JavaScript Talks - Async JavaScript with Reactive Extensions

Matt Marenghi
69K views • 12 years ago
Keynote - JSON Graph: Reactive REST at Netflix54:58

Keynote - JSON Graph: Reactive REST at Netflix

Association for Computing Machinery (ACM)
41K views • 11 years ago
ReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VM33:23

ReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VM

ReactiveConf
3K views • 8 years ago
Lambda World 2018 - What FP can learn from Smalltalk by Aditya Siram43:37

Lambda World 2018 - What FP can learn from Smalltalk by Aditya Siram

Lambda World
25K views • 7 years ago
Cheng Lou - On the Spectrum of Abstraction at react-europe 201635:32

Cheng Lou - On the Spectrum of Abstraction at react-europe 2016

ReactEurope
63K views • 10 years ago