Directory Layout

Table of contents


Project root directory layout

The project root contains the following files and directories:

The source/ directory

The source/ directory contains the following files and directories:

The source/app/ directory

The source/app/ directory contains the following directories:

The source/app/common/ directory

This directory contains the source code for the common infrastructure and utilities. It contains the following files and directories:

The source/app/<appId>/ directory

The unique part of each app is in a directory under source/app/<appId>. Typically, the appId is the first word in the full app name. For example, 'C182' for the 'C182 Performance' app. This directory typically contains the following files and directories.

The source/app/Testapp/ directory

The source/airportData/ directory

This directory contains

The source/image directory

This directory contains the source files used to create images associated with each app. Eacj app has a separate directory named by the appId containing source files such as:

The source/service directory

This directory contains server-side files to implement each app's API. It contains a common/ directory containing the service files common to all apps. The directory also contains a directory for each app named by the appId containing any files unique to the app.

Currently, all the PHP service files are common to all apps. Each app has a unique .htaccess file that directs requests to the common files a sets the POH_APP environment variable with the app's appId.

The source/cdv directory

This directory contains the files needed to build Cordova native apps. Each app, has a directory named by its appId, that contains a Cordova config.xml and a res/ directory containing native app image resources.

The build/ directory

The build directory contains the results of the build process. It contains the following directories:

The doc/ directory

This directory contains all the project documentation. For the most part, this conssits of Markdown files, but it make include other formats, including video.