Using Umbrellas

In this section, we’re going to split our application into rumbl_web, containing the web components, and rumbl, containing all backend logic in our contexts. Each umbrella project has a parent directory that defines:

  • The shared configuration of the project
  • The dependencies for that project
  • The apps directory with child applications

Let’s pick an approach that addresses each of these points. We need to choose between using generators and adjusting our existing app.

Choosing an Approach

The main goal for umbrella applications is to give us the freedom to work with distinct pieces of the application independently, while still allowing convenient common overarching tasks. Now that we’ve identified the logical pieces to separate, let’s ...

Get Programming Phoenix 1.4 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.