Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 946 Bytes

0005-application-structure.md

File metadata and controls

25 lines (13 loc) · 946 Bytes

5. Application structure

Date: 2019-09-25

Status

Accepted

Context

We've chosen a monolith approach for this application. One of the consequences is that we have to think about the application structure in advance.

Decision

We'll structure the application as follows:

Diagram of the application structure

The app layer only contains models (Candidate, Application, etc) and services (things to change state). It has no controllers or views.

The user-facing functionality is split into 3 components: Candidate, Provider and Vendor API. These namespaces do not talk to each other, but only to the app layer. Each component has their own controller hierarchy, own views, mailers, and component-specific services.

Consequences

We'll try to use the proposed structure. We need to regularly review the structure to see if it's still appropriate.