Please log in to watch this conference skillscast.
Meet Phoenix LiveView, the Elixir-based programming environment for Phoenix. The author of Programming Phoenix LiveView and LiveView trainer will walk you through how the programming model works. Along the way, you'll see what web development is supposed to feel like. The best thing? You'll be able to build the interactive single-page apps your customers want without compromising on code organization or writing custom JavaScript.
Q&A
Question: It looks like OTP is based on callbacks, is it possible to use functions like observable streams?
Answer : OTP itself is callback-based, yes, but things built on top of it are known to use observable streams. One that comes to mind is Flow which is a bit like Flink but for small data. https://hexdocs.pm/flow/Flow.html
Question: Elm (only) supports a similar architecture and has the “time travelling debugger”. How do you go about debugging applications written in this style in Elixir/Phoenix? Is there a similar tool available?
Answer: Yes, Elm has a very similar architecture. There are lots of debugging choices, and more are showing up all the time. But no, nothing like Elm’s time traveling debugger, though nothing prevents it from existing because it’s really about the state in the socket.
YOU MAY ALSO LIKE:
Phoenix LiveView: Building Scalable Web Single Page Apps Doesn't Have to Hurt
Bruce Tate
Founder
Groxio