Skip to content
forms-raw_singleitemedit-icon
navigation
modification_btn
docs
messages
flatprojectmap.handlebars
Plugin - Directory Structure
modificationbutton
docs_htmltables.handlebars

Plugin - Directory Structure

docs_html.handlebars
documentation.handlebars

Plugin — Directory Structure

Each plugin in the plugins/ directory follows a standard Model–View–Controller (MVC) layout. This structure provides clear separation of concerns, making it easier to maintain, extend, and integrate new functionality within the site.

Directory Tree

plugins/
                    └─ [plugin-name]/
                       ├─ models/
                       ├─ controllers/
                       └─ views/
                          └─ partials/
                    

Folders & Responsibilities

models/ — Contains data definitions and logic for interacting with the database or in-memory data.
controllers/ — Handles requests, executes logic, and prepares data for the views.
views/ — Defines the user interface templates rendered to the browser. Common shared templates are placed in views/partials/.

Integration Guidance

Each plugin is designed to be modular and self-contained. Routes and data models can interact with the broader application through the central plugin loader and shared middleware. When adding a new plugin, ensure its folder structure mirrors this standard for consistency and maintainability.

This documentation outlines the general plugin layout. Refer to the Plugin Summary and associated Data Structure documentation for detailed specifications of individual modules.

modal1
modal2
modal3
docs_javascript
new_issue_button.handlebars
shortcut_edit