Skip to content

Instantly share code, notes, and snippets.

@afomi
Last active March 20, 2019 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afomi/12fa247264bf7aba7ac845932eaedba6 to your computer and use it in GitHub Desktop.
Save afomi/12fa247264bf7aba7ac845932eaedba6 to your computer and use it in GitHub Desktop.
Elixir Phoenix Request Flow
<h1>
Elixir
</h1>
<div class="diagram">
Visit->Request:http://localhost:4000
Request->App:http://localhost:4000
App->AppWeb:
AppWeb->Router: get "/*path", PageController, :index
Router->Controller: def index
Controller->Model:
Controller->View: render(conn, "index.html")
View->Template:
Template-->Visit:
Visit->WebSocket:
WebSocket->Channel:
Channel->Controller:
Controller->Model:
Controller->View:
View->Template:
Template-->Visit:
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment