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 ...
Get From Ruby to Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.