Programming Phoenix LiveView (Pragmatic Bookshelf)

Latest Threads About This Book Top

New
karlosmid
I think that this task is too ambiguous: “Build a component to render an HTML title, with a heading and a configurable message. Render t...
New
rabbott
`<.header> Listing Products … ` The closing tag should be </.header>. This example and error appear twice on this page.
New
rabbott
There’s a sentence on page 103 that reads, “With just a hand full of products in our database, this isn’t necessarily a huge win.” I bel...
New
rabbott
One of the examples has what I think is supposed to be an HTML comment but the opening tag is goofy. The example reads: &lt;!== lib/pent...
New
rabbott
On page 101 a sentence reads, “Over time, events will continue to transform the socket, one event a time.” I believe it should end with ...
New
rabbott
On the second paragraph on the first page of chapter 3 reads: “The next two chapters will build a product catalog into our application”. ...
New
rabbott
The render() function examples use ‘ ’ to add space between elements. The same thing could be achieved by adding the tailwind class ‘mt-1...
New
rabbott
The ‘message:’ is Guess a number". In previous and later examples ‘message:’ is “Make a guess”
New
jfriboldi
Hello all, I’m really loving this book, I found a small error on page 281 if you do not alias the SurveyResultsLive it will give this er...
New
siraj-samsudeen
The name chosen for the guess module is WrongLive - each time I see this, my brain fires up with the usual connotations of the word wrong...
New
siraj-samsudeen
When discussing the code below, the text talks about live_redirect whereas live_redirect is not mentioned in the code. Am I missing somet...
New
Slesa
Page 100 Add the following snippet to your index.html.eex template: index.html.heex Page 105 Our &lt;.header&gt; 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
rubys
This needs to be register_users (plural)? iex(3)&gt; params = %{email: "mercutio@grox.io", password: "R0sesBy0therNames"} %{password: "R...
New
rubys
If you check in endpoint.ex I suggest spelling this out: lib/pento_web/endpoint.ex
New
rubys
You may have noticed that Phoenix fetched the dependencies on this list when you ran mix deps.get. Did I miss something? We haven’t ru...
New
vivdiwakar
Chapter 4. Generators: Live Views and Templates, page 101 3rd paragraph from the bottom - typo in “LiveView”, spelled “liveVie”
New
papergirl
@SophieDeBenedetto Under section “Application Inventory” paragraph 3, first word should read: It turns out and not: In turns out
New
sfractal
I entered the code on page 52 establishing a new authenticated route and it won’t compile. I get: $ iex -S mix phx.server ...
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
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

Most Active This Week Top

Most Active This Month Top

karlosmid
I think that this task is too ambiguous: “Build a component to render an HTML title, with a heading and a configurable message. Render t...
New
rabbott
On page 101 a sentence reads, “Over time, events will continue to transform the socket, one event a time.” I believe it should end with ...
New
New
rabbott
There’s a sentence on page 103 that reads, “With just a hand full of products in our database, this isn’t necessarily a huge win.” I bel...
New
rabbott
`<.header> Listing Products … ` The closing tag should be </.header>. This example and error appear twice on this page.
New
rabbott
One of the examples has what I think is supposed to be an HTML comment but the opening tag is goofy. The example reads: &lt;!== lib/pent...
New

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: &lt;.input field={@form[:email]} type="email" label="E...
New
mattvanhorn
In the book the invocation is presented as: “&lt;​.​live_component ​ module=​{PentoWeb.ProductLive.FormComponent}​​ id=​{@product....
New
belgoros
In PentoWeb.RatingLive.Index.product_rating/1 function, there is a call to &lt;RatingLive.Show.stars rating={rating} product={@product} /...
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
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
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 &lt;.header&gt; function invocation in the index template doesn’t make use of the &lt;: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
shaolang
Second paragraph in section Protect Routes with Plugs says "The authentication service is defined in the file lib/pento_web/controllers/u...
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&gt; product = %Product{} %Pento....
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |&gt; handle_event() |&gt; 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
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
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
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

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