Search⌘ K

Applications

Explore the concept of Applications in Elixir as reusable units larger than modules. Understand the OTP Application Behaviour, including managing dependencies and cleanly starting or stopping apps. This lesson helps you grasp how to use Applications as building blocks for scalable, decoupled Elixir projects.

Despite the name, Applications are not what we normally think of as software applications. They are reusable units of code that are bigger than modules. In fact, they most often contain multiple modules. They’re similar in scale to libraries in other ecosystems. While they can function as libraries, they can also be much more.

Applications can act as the true building blocks for our programs and a means of putting together integral pieces of business logic to build a larger whole. Working with larger building blocks like these makes us really productive.

IslandsEngine Application

Applications can also stand on their own as what we traditionally call an application. The IslandsEngine Application we developed in the first part of the course is one example. It is a fully ...