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.iniHouses core application settings, typically requiring minimal modification. -
permissions.iniandrbac.iniDefines user authorization rules (details to be covered in theauthorizationsection). -
db.iniSpecifies database connection parameters. -
mail.iniContains mail server settings. -
license.iniStores the license key.
By understanding this structure, developers can efficiently manage application components and customize settings to meet specific project requirements.