Status:
2023-07-25
Directory Structure
/
Folder / File |
Meaning |
📁 application |
myMVC Framework and libraries, temporary files |
📁 config |
top config folder; gobal |
📁 modules |
← in here you write your application code |
📁 public |
any public files like *.css , *.js |
emvicy.php |
command line tool; helps to manage |
/application/
Folder / File |
Meaning |
📁 cache |
place for caching files |
📁 init |
skeleton files and utilities |
📁 library |
Core Framework |
📁 log |
default logfile directory |
📁 session |
SessionIDs are stored here by default |
📁 smartyPlugins |
default smartyPlugin directory |
📁 templates_c |
default home for compiled smarty templates |
📁 vendor |
third party libraries installed by composer |
composer.json |
list of third party libraries to install |
composer.phar |
a standalone composer script |
/modules/{moduleName}/
Folder / File |
Meaning |
📁 Controller |
Your Application Controller Classes |
📁 DataType |
Your generated DataType Classes |
📁 etc |
place for install- and config files, docs, routing and individual other stuff |
📁 Model |
Your Application Model Classes |
📁 Policy |
Your Application Policy Classes |
📁 templates |
Template files |
📁 View |
Your Application View Classes |
_install.sh |
helper bash script to e.g. install files from modules/{moduleName}/etc/_INSTALL/ to other places |
_publish.sh |
helper bash script to copy files from modules/{moduleName}/etc/_INSTALL/public/ to public/ |
/modules/{moduleName}/etc/
Folder / File |
Meaning |
📁 _INSTALL |
place for files to install (e.g. copy into public folder) |
📁 config |
Module's config files |
📁 doc |
place for any further Module documentation |
📁 event |
place for Event Listeners. See Registering Event Listeners |
📁 policy |
Policy Rules |
📁 routing |
Routing files |
📁 smartyPlugins |
Smarty template PlugIn files |
/modules/{moduleName}/etc/config/
Folder / File |
Meaning |
📁 DataType |
Module's DataType configuration files |
📁 {moduleName} |
|
└── 📁 config |
place for any further Module documentation |
_mvc.php |
primary Module's config - a secondary module does not have this file |
/modules/{moduleName}/etc/config/{moduleName}/config/
/modules/{moduleName}/templates/
templates directory structure
modules/{moduleName}/
├── templates/
│ └── Frontend/
│ ├── content/
│ │ ├── _cookieConsent.tpl
│ │ ├── _noscript.tpl
│ │ ├── 404.tpl
│ │ ├── index.tpl
│ │ └── info.tpl
│ └── layout/
│ ├── footer.tpl
│ ├── header.tpl
│ ├── index.tpl
│ └── menu.tpl
- You may find further Information in Topic Frontend