Functional Web Development with Elixir, OTP, and Phoenix: Rethink the Modern Web App
Lance HalvorsenStart by building the business logic as a separate application, without Phoenix. Model the application domain with Elixir functions and simple data structures. Add in the GenServer Behaviour to make managing in-memory state a breeze. Create a supervision tree to boost fault tolerance while separating error handling from business logic. Use Phoenix to build a web interface decoupled from business logic. Use ultra-scalable Phoenix Channels to establish persistent connections between the stateful server and a stateful front-end client.
Learn a whole new way of building web applications with Elixir, OTP, and Phoenix.
Lance Halvorsen is a member of the Phoenix core team, the author of the Phoenix Guides, and a senior software architect at Le Tote.