11 Working with components

This chapter covers:

  • Creating OTP applications
  • Working with dependencies
  • Building a web server
  • Configuring applications

It’s time to turn our attention toward producing releasable systems that can be deployed and started simply. To reach that goal, you need to learn about OTP applications, which let you organize your system into reusable components. Applications are a standard way of building Elixir/Erlang production systems and libraries, and relying on them brings various benefits, such as dependency management, simplified system starting, and the ability to build standalone, deployable releases.

In this chapter, you’ll learn how to create applications and work with dependencies. In the process, you’ll turn your ...

Get Elixir in Action, Second Edition 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.