Wrapping Up
Phoenix is one of the main libraries for Elixir application development. Phoenix is a bit like Rails in that it is the most prominent library in the ecosystem, but it has a significantly different objective than Rails does. Rails seeks to be everything you need to build web apps, but Phoenix focuses only on serving requests. Phoenix integrates with other key libraries—like Ecto—to create a seamless experience for Elixir web developers.
Requests flow through Phoenix in a similar way to Rails apps. Requests enter the application and run through an Endpoint module. The endpoint processes the request and eventually submits it to the Router module. Your application router will determine how the request should be processed and then will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access