Programming Phoenix LiveView (Pragmatic Bookshelf)

Latest Threads About This Book Top

Slesa
Page 100 Add the following snippet to your index.html.eex template: index.html.heex Page 105 Our <.header> function invocati...
New
marcs
Hi, i followed the examples and generated the Catalog live ressource as described on page 67, added the /product routes in the correspon...
New
longnight
Title: Name of book: Programming Phoenix LiveView Can you remove all those “zero width space” inside code block ? that unicode character...
New
lycheese
The template on page 138 already contains the .simple-form component even though we did not assign a form to the socket yet and will ther...
New
lycheese
When using phx.gen.live with phoenix 1.7.14 the generated code in index.html.heex uses patch instead of navigate. When looking up the tem...
New
max
Hi there, in the book it says the authentication service should be located at ``` lib/pento_web/controllers/user_auth.ex but for me it...
New
Rope-a-dope
Programming Phoenix LiveView: The code provided at Programming Phoenix LiveView: Interactive Elixir Web Programming Without Writing Any J...
New
Rope-a-dope
Title: Name of book: Programming Phoenix LiveView B9.0: Chapter 12-Define a Skinny GameLive View These two need to be updated with lib/...
New
Rope-a-dope
Title: Programming Phoenix LiveView B9.0: Chapter 11-Represent a Shape With Points Diagram is Wrong Two pages earlier, there is also a ...
New
Rope-a-dope
Title: Name of book: Programming Phoenix LiveView Second to last page on Section 10 - Unit Test Test Survey Results State testing/pento...
New

Most Active This Week Top

Most Active This Month Top

Most Active This Year 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
Rolando
Title: Programming Phoenix LiveView: P97 test authentication generation issue I’m not familiar with the syntax (auth *) → mix test If I...
New
GumptionWare
On page 52, the topic of “Protecting Sensitive Routes” is introduced with this snippet from router.ex: scope "/", PentoWeb do pipe_thr...
New
arcanemachine
On page 138, :timer.sleep(1000) is used in the server-side code to simulate latency. This would be a great place to introduce the client-...
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
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
mattvanhorn
In the book the invocation is presented as: “<​.​live_component ​ module=​{PentoWeb.ProductLive.FormComponent}​​ id=​{@product....
New
belgoros
In PentoWeb.RatingLive.Index.product_rating/1 function, there is a call to <RatingLive.Show.stars rating={rating} product={@product} /...
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
enoonan
In this section, at the point where it tells the reader to “Start up the server, log in, and point your browser at /promo… You should see...
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
lurnid
The 3rd paragraph on the page states: Our <.header> function invocation in the index template doesn’t make use of the <:subtit...
New
enoonan
The beginning of the “Use the Component” section instructs readers: Alias the component in SurveyLive by adding this line to the top you...
New

Most Active Last Three Years Top

PragmaticBookshelf
Author Spotlight: Bruce Tate @redrapids Programming languages always emerge out of need, and if that’s not always true, they’re defin...
New
cro
I am working on the “Your Turn” for chapter one and building out the restart button talked about on page 27. It recommends looking into ...
New
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
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
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
StoatPower
Title: Programming Phoenix LiveView B8 - entire Ch4 modal component section needs correcting (Page 101-114) Example: Programming Flutter...
New
asibbald
In this - and subsequent - “Give it a try” sections, it would be very useful to have the answers, both to confirm whether we got it right...
New
jaeyson
Programming Phoenix Liveview: live_modal to live_component (page 101) Hi, First of all thank you for this awesome book. I saw minor cha...
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
norbu09
I keep suggesting this book to people that want to learn Phoenix but never actually went through it myself. Today i picked the latest ver...
New

Most Active Over Three Years Top

PragmaticBookshelf
A Hero’s Journey with Sophie DeBenedetto @SophieDeBenedetto Sophie DeBenedetto, author of Programming Phoenix Liveview, discusse...
New
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
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
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
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
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
okari5678
socket is being accessed in the function body, hence the need to include it in the function head. Current: def maybe_track_user( ...
New
rubyist
The text talks about adding two keys to assigns, a session_id key and a current_user key, but the example code is only showing the sessio...
New
jack.lansing
Hi there, Just wanted to call out that although what needs to happen should be pretty obvious, when we add handle_progress/3 on page 138...
New
asibbald
“You’ll see how LiveView let’s you move fast by offering elegant patterns for code organization, and you’ll find that LiveView is the per...
New
TwistingTwists
I have read first chapter. Will add my notes / code tries / self exploration as I go along! Thank you @AstonJ for encouraging to start ...
New
New

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.