{name}: architecture

What this app does in one or two sentences, and who uses it. Drawn from the code as it is today, in the shape every app on the framework uses (the app pattern).

1. What the app is made of

The parts of the app and the other apps and services it talks to.

2. Inside the app

Where to look

  • api/apps/{name}/, apps/{name}/, api/admin/apps/{name}/.

3. The app's classes

Public methods only, the ones another developer calls or overrides.

4. A request inside the app

The main action of the app, from the page to the answer.

5. The app's tables

From the app's migrations; names carry the app prefix.

Where to look

  • api/apps/{name}/migrations/.

6. The app's use cases

One use case per manifest permission, grouped by where it happens.

Where to look

  • api/apps/{name}/{name}.xml: <user_permissions> and <admin_panel_permissions>.

7. What it uses from other apps

  • List every app named in the manifest's <app_permissions> and what this app calls there.
  • List the roles, scopes or notifications this app declares, if any.
  • List the outside services it talks to, without hostnames or keys.