Overview

Application Structure

Understanding the Fuwafuwa Framework's structure is essential for effective application development. This section provides an overview of the default directory structure and key configuration files.

Application folders

The core application files and folders are organized as follows::

app/
    configs/        configuration files
    controllers/    controllers
        systems/    core controllers of Fuwafuwa Framework
        user/       user coded controllers
            ajax/   ajax controllers
            api/    api controllers
    db/             SQLite database
    i18n/           i18n files
    views/          view files
        system/     core views
        user/       user created views
css/                style sheet files
themes/     theme, tailwind theme at the moment
images              images here
js                  javascript libraries
media               user uploaded resources
tmp                 compiled php, cache
vendor              php libraries
          
Mostly you'll work on app folders

configs folders

  • config.ini Houses core application settings, typically requiring minimal modification.

  • permissions.ini and rbac.ini Defines user authorization rules (details to be covered in the authorization section).

  • db.ini Specifies database connection parameters.

  • mail.ini Contains mail server settings.

  • license.ini Stores the license key.

By understanding this structure, developers can efficiently manage application components and customize settings to meet specific project requirements.