Programming Phoenix LiveView (Pragmatic Bookshelf)

Most Active This Week Top

Most Active This Month Top

mythicalprogrammer
scope = Accounts.get_scope_for_user(user.id) Is wrong and should be: scope = Accounts.Scope.for_user(user)
New

Most Active This Year Top

balazsjuhasz
At start of the page log_out_user/1on_mount/4 should be on separate lines iex> exports PentoWeb.UserAuth __phoenix_verify_routes__/1 ...
New
ishan
Title: Programming Phoenix LiveView I am not sure if this an appropriate way to send feedback for this book. It seems like the defacto i...
New
treejamie
Title: Programming Phoenix LiveView: Mount and Render the Product Index • 115 … let’s examine the socket assigns now. Add the following...
New
treejamie
There’s no simple_form/1 in phoenix 1.8 So this code <div> <.simple_form for={@form} id="promo-form" phx-change=...
New
mikestok
In Install Elixir, Postgres, Phoenix, and LiveView it says: Make sure you get at least the minimal version of Elixir (>= 1.14 as of ...
New
RemyXRenard
On page 139 in the iex session in the Test Drive the Schema section, the instruction is to execute Product.changeset/2. However, the prev...
New
DestyNova
p81: live "/products/new", ProductLive.Index, :new – as you noted just above, the generator in Phoenix 1.8 puts this in ProductLive.Form,...
New
RobCode
There looks to be a misprint on page 217 of Book version: P1.0—March, 2026. A code block is displayed of a <.form> component with a...
New
DestyNova
p2: we update a yet another element. Delete "a ". p11: you might seeing – s/seeing/see/ p12: <imagedata fileref=”images/intro/phoenix-...
New
jeff_f
happy to get the email this morning about the 1.1 version of the book! Just last night I spent an unnecessary amount of time figuring out...
New
kjoehlers
In the brief description of ~/pento/lib/pento/promo/recipient.ex it says ‘… Then we disable our primary key since our live view won’t mak...
New
kjoehlers
Title: Programming Phoenix LiveViw: v1.0 (page 84) Example: Version mismatches in Chapter 3 There numerous mismatches between instructi...
New
kjoehlers
The paragraph below the code says: “The only difference in this implementation and the previous is the call to params_with_image.” It ...
New

Most Active Last Three Years Top

New
oboudry-mvp
The schemaless form defined in file “lib/pento_web/live/promo_live.html.heex” on page 133 of the book requires some transformation. The :...
New
zagoli
Hi, I just finished reading Programming Phoenix LiveView B10 PDF edition. I found some typos and errata, and I will report them all in t...
New
jshprentz
The code example at the top of page 140 includes the phx-debounce=blur binding: <.input field={@form[:email]} type="email" label="E...
New
shaolang
The changelog for LiveView 0.20.x stated the deprecation. It seems like it’s largely only a name change, i.e., there’s no functional diff...
New
lurnid
The 3rd paragraph on the page states: Our <.header> function invocation in the index template doesn’t make use of the <:subtit...
New
ppicom
Hi! To get to see the shapes on the board, I think that where it says: # lib/pento_web/live/game_live/board.ex def assign_shapes(%{assig...
New
belgoros
In PentoWeb.RatingLive.Index.product_rating/1 function, there is a call to <RatingLive.Show.stars rating={rating} product={@product} /...
New
sushil
if active Pentominos do not showup on the screen it is due to this line on p369 defp assign_shapes(%{assigns: %{board: board}} = socket)...
New
shaolang
The last line in the first paragraph on page 99 reads: …put certain instructions in socket.products.inserts or socket.products.deletes....
New
shaolang
Second paragraph in section Protect Routes with Plugs says "The authentication service is defined in the file lib/pento_web/controllers/u...
New
GumptionWare
In this paragraph: The schema macro is not the only aspect of the Product module that helps us interact with the products database tabl...
New
Slesa
Page 100 Add the following snippet to your index.html.eex template: index.html.heex Page 105 Our <.header> function invocati...
New
belgoros
Talking about the Contex library, I think there is a tiny typo when referencing the library on page 246 (certainly because of auto-correc...
New
jshprentz
The first paragraph on page 219 mentions a checkbox: Then, we use the heading/1 component that we’ll define in a bit to show a heading ...
New

Most Active Over Three Years Top

Charles
In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New
akraut
The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. lib/pento_web/live/product_l...
New
taguniversalmachine
It seems the second code snippet is missing the code to set the current_user: current_user: Accounts.get_user_by_session_token(session["...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New
jwandekoken
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below: d...
New
jgchristopher
“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ” Excerpt From: Br...
New
asibbald
A further clarification: When I move to the “Stateful components” section and run a compile with “iex -S mix”, the compile works. When I ...
New
New
StoatPower
Title: Programming Phoenix LiveView B8 - entire Ch4 modal component section needs correcting (Page 101-114) Example: Programming Flutter...
New
herminiotorres
On Chapter 3 - Page 78, the beginning of the page has this code here: @doc """ Maybe it is missing to put the Pento context before Cata...
New
New
dzen
The introduction instructions under section “Build a Simple LiveView” are incomplete. If followed from book one gets the following error:...
New
bzuu
In the code sample for auth /pento/lib/pento_web/live/user_auth_live.ex the on_mount function is defined as: on_mount(_, params, %{"user...
New

Latest in Programming Phoenix LiveView

View all Programming Phoenix LiveView threads ❯

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Use the coupon code "devtalk.com" to get 35% off any eBook published by PragProg!

Related Portals