roostercrab
Trying to trace a request through each function
I’m watching Chris McCord’s original video on his design for Phoenix and I’m trying to follow along with the files that he is looking at because I really want to be able to follow a request from beginning to end, but I assume a lot of the files have changed their names and/or locations and/or purpose; or I’m just looking in completely the wrong place!
Just as an example, he mentions a file called mapper.ex that I can’t find in my generated app. Is it somewhere inside the actual phoenix installation? If so…then where is that?
Most Liked
sabiwara
This video is fairly old, I believe that Phoenix project structure has indeed evolved quite a bit since 2014 ![]()
So if you used the latest version of the generator, you probably won’t be able to follow it, I’d suggest either some more up-to-date material, or if you really want to follow this video to use the same version?
I tried to find the equivalent of mapper.ex in today’s phoenix, I think it now lives under Phoenix.Router and is not part of the generated code anymore: phoenix/lib/phoenix/router.ex at main · phoenixframework/phoenix · GitHub
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










