/
Step 8: Directories

Step 8: Directories

Temporary directories

Applications may need to create temporary files. The “tempdir” component creates a permanent folder for storing such files.

Temporary directories are created as subfolders inside innomatic/core/temp.

Each application is responsible for clearing its own temporary files, optionally with a scheduled maintenance task.

However, when an application is uninstalled its temporary directories are automatically removed with their whole content.

Example in application.xml:

 <tempdir name="example-basic-app" />

Generic directories

You may want to store additional files at application, tenant or user levels.

Innomatic Platform already provides folders for such needs:

Applications:

innomatic/core/applications/<application_name>

e.g.: innomatic/core/applications/myapplication

Tenants:

innomatic/core/domains/<tenant_name>

e.g.: innomatic/core/domains/mytenant

Users:

innomatic/core/domains/<tenant_name>/users/<user_name>

e.g.: innomatic/core/domains/mytenant/users/admin@mytenant

Next: Part 5: Creating desktop user interfaces

Related content

Step 1: Structure of an Innomatic application
Step 1: Structure of an Innomatic application
More like this
Setting up tenant web apps
Setting up tenant web apps
More like this
Step 2: The application.xml file
Step 2: The application.xml file
More like this
Part 1: Understanding Innomatic
Part 1: Understanding Innomatic
More like this
Innomatic Legacy 6 Architecture
Innomatic Legacy 6 Architecture
More like this
Step 2: Deploying applications
Step 2: Deploying applications
More like this