AstonJ

AstonJ

Welcome to our Programming Phoenix LiveView Book Club! :048:

The book was recently updated for Phoenix 1.7 and LiveView 0.18 so we thought it was about time we had a book club on it!

The book cub is being led by @code-shoily and @mariusbutuc and participants are:

Everyone is welcome to join the book club or to simply comment on anything you find interesting :023:

Showing Posts 1 to 10

m4hi2

m4hi2

Hello everyone! Looking forward to mastering Live View with you all! :smile:

code-shoily

code-shoily

Hello everyone. I have not started reading yet. Got the flu :flushed: … Will do from the weekend if I fully recover by then :crossed_fingers:

This is the plan I have regarding how I’ll proceed with the reading

  • Will have a summary of a chapter once done, focusing on my thoughts, learnings and feeling about what I learned.

  • Since I am treating this as part of mg deep dive into LV, I will dig elsewhere in the web on topics related to the chapters I just read (i.e related articles, discussions, tutorials) so we can dive deeper and have good supplement per chapter

  • Aside from the ‘Pento’ app mentioned in the book, I will create a Playground like LV app where I will post snippets and share with y’all. Any aha moment Ot discoveries would be codified as snippets

That’s it. Also a reminder that there is an errata page on DevTalk and if you find any bugs or outdated information you know where to report and help the author.

I am looking forward to learning with you all. LiveView is a tech stack close to my heart and I am super excited to colearn it and brush up and strengthen my skills. :hugs:

dr.a

dr.a

Hi all.. I’ve made my way through to the “your turn” section where the reader is invited to complete the game. While the book has been relatively accessible to a :noob like myself, generating my own code feels like a step beyond my sphere of confidence. If anyone feels like sharing code or tips, you’d have an audience of at least me :smiling_face:

ivanhercaz

ivanhercaz

Hi! I have curiosity: what is done in book club? :face_without_mouth:

AstonJ

AstonJ OP

There are no hard or fast rules Iván, tho we generally encourage people to post at least one update per chapter, and welcome others to join in with the conversation when they encounter anything of interest :smiley:

Check out our latest book clubs here: bookclubs and here are our older ones book-club :023:

ivanhercaz

ivanhercaz

Oh! All right, with your explanation and looking the past bookclubs I already understand the idea. I will try to participate :heavy_heart_exclamation:

Thank you, @AstonJ!

m4hi2

m4hi2

Are you stuck where the author asks you to complete the code so that the time updates with each event trigger? If so, then in your mount/3 function add the time key with value time() like score and message. Then, inside the template, use @time instead of time(). Update the handle_event/3 func as well, doing the same as message and score for time.

Hope that helps.

Please Note: I intentionally left the instructions a little vague, so that you have some room to explore.

Sorry, just noticed there is a separate Your Turn section. :frowning:

m4hi2

m4hi2

I’m a little bit confused. With the exercise part, I’m having difficulties with live_patch/3
I’m getting this error:

warning: Routes.live_path/2 is undefined (module Routes is not available or is yet to be defined)
  lib/pento_web/live/wrong_live.ex:46

I’m pulling the LiveView behaviour properly according to this post. still no luck.

Here’s the code if it helps.

cpgo

cpgo

Did you generated a fresh phoenix project?
Just copied you wrong_live.ex and ran it on my project and it worked fine

Edit: I forgot to mention that I already completed a few chapters, I think I skipped ahead a bit because I was curious on how to implement JS interop
guess

Really liking it so far, but I wish it was possible to embed a LiveView on an existing “DeadView” to make it possible to slowly port some features to LiveView, maybe thats possible but I cant find a exact answer to this.

m4hi2

m4hi2

Yes, the pheonix project was generated fresh.

Where Next? Top

Trending in Discussions Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
jtormey
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New

Other Trending Topics Top

KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews