//application//config//modules/{moduleName}//modules/{moduleName}/etc//modules/{moduleName}/etc/config//modules/{moduleName}/etc/config/{moduleName}/config//modules/{moduleName}/templates//public/
| Folder / File | Meaning |
|---|---|
| π application | Emvicy 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 | command line tool; helps to manage |
| Folder / File | Meaning |
|---|---|
| π cache | place for caching files |
| π init | skeleton files and utilities |
| π library | Core Framework |
| π log | default logfile directory |
| π pid | default pid file directory |
| π session | default SessionIDs directory |
| π 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 |
| 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 |
| π Test | PHPUnit Test Classes |
| π 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/ |
| .primary | indicator file for primary module |
| 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 |
| Folder / File | Meaning |
|---|---|
| π {moduleName} | |
| βββ π config | place for any further Module documentation |
| _mvc.php | further MVC configs (see Module's config folder (overrides 1.), and Example) |
| Folder / File | Meaning |
|---|---|
| _asset.yaml | Asset Sets |
| _cron.php | Routes to be called via cron:run |
| _csp.php | Content-Security-Policy rules |
| _datatype.php | Module's DataType configuration files |
| _db.php | Database Config |
| _function.php | functions |
| _menu.php | Config for Menu building |
| _routeintervall.yaml | Config for RouteIntervall |
| _session.php | Session Rules; Where to enable & disable Session |
| develop.php | Module's environment config file. See Example /modules/Foo/etc/config/Foo/config/develop.php |
Example: templates directory structure
modules/{moduleName}/
βββ templates/
βΒ Β βββ Frontend/
βΒ Β βββ content/
βΒ Β βΒ Β βββ _cookieConsent.tpl
βΒ Β βΒ Β βββ _noscript.tpl
βΒ Β βΒ Β βββ 404.tpl
βΒ Β βΒ Β βββ index.tpl
βΒ Β βΒ Β βββ info.tpl
βΒ Β βββ layout/
βΒ Β βββ footer.tpl
βΒ Β βββ index.tpl
βΒ Β βββ menu.tpl
- You may find further Information in Topic Frontend
modules/Foo/
βββ Controller
βββ DataType
βββ Model
βΒ Β βββ DB
βΒ Β βΒ Β βββ Collection
βΒ Β βΒ Β βββ Table
βΒ Β βββ Worker
βββ Policy
βββ Test
βΒ Β βββ Feature
βΒ Β βββ Unit
βββ View
βββ etc
βΒ Β βββ _INSTALL
βΒ Β βΒ Β βββ public
βΒ Β βββ config
βΒ Β βΒ Β βββ Foo
βΒ Β βΒ Β βββ config
βΒ Β βΒ Β βββ vendor
βΒ Β βββ doc
βΒ Β βββ event
βΒ Β βββ policy
βΒ Β βββ routing
βΒ Β βββ smartyPlugins
βββ templates
βββ Frontend
βββ content
βββ layout