/books/programming-phoenix-liveview
Active Threads This:
Most Active This Week
Most Active This Month
On page 52, the topic of “Protecting Sensitive Routes” is introduced with this snippet from router.ex:
scope "/", PentoWeb do
...
New
Most Active This Year
Title: Programming Phoenix LiveView: P97 test authentication generation issue
I’m not familiar with the syntax (auth *) → mix test
If I...
New
Given it’s due in April, is the content complete now? Is it worth “really” reading the book now? Or are there tonnes of non-typo changes ...
New
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
Most Active Last Three Years
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
Hi all,
I’m getting this when going to /survey and all code appears to be the same:
Request: GET /survey
** (exit) an exception was rai...
New
Generators: Contexts and Schemas - p85
Here is the code I have:
catalog.ex:
def markdown_product(%Product{} = product, unit_price) d...
New
Hello everyone,
In page 60, the book is suggesting the following about reducing the number of database call when fetching the user in Li...
New
I’m seeing auth/pento/lib/pento_web/live/user_auth_live.ext at the top of the prompt to add this module.
When I started typing this ques...
New
Currently the component looks like this:
<div>
<.form :let={f} for={@changeset} phx-submit="save" phx-target={@myse...
New
Hello @SophieDeBenedetto,
In Chapter 1 we read the following sentence:
Instead of thinking of each interaction on your single-page app...
New
In my terminal, I am trying this with the source code from the .zip (the repo where I was going from scratch also wasn’t working - simila...
New
Hi,
Will you be in updating for the latest version prior to release?
A lot of the books form content is deprecated.
Thanks.
New
The graphic displaying Router → Index.mount → Index.render is a bit confusing to me.
I grok the discussion about Router → mount → render...
New
Wasn’t sure whether this was an error of omission or just confusion on my part as I’m new to Ecto. It turned out to be the latter. Not su...
New
Most Active Over Three Years
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
Two things:
1.
The book is written to,. or alludes to the following…
Open up an operating system shell and navigate to the parent dire...
New
Hi, I am not really sure, if it just an error injected by me somewhere, thus I marked this as question, not as erratum :slight_smile:
Th...
New
I tried to do the exercise for the basic LiveView “game”.
One part is:
Show a restart message and button when the user wins. Hint: you ...
New
On page 33, paragraph 4, sentences 4 and 5 you use the term ‘term’. Is this about Erlangs TERM?
Constructors create a term of the core...
New
Hi,
I believe there’s a typo on page 325 “Build Your First Surface Component”.
In the patterns configuration there’s this piece of conf...
New
Hi,
I’m fairly new to the Elixir/Phoenix community so I’m not sure if this is an error or my misunderstanding, thus I’m marking this thr...
New
What is the difference between using PentoWeb.Endpoing.broadcast/3 and Phoenix.PubSub.broadcast/3. Also the same applies for subscribe/2 ...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.