You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -56,7 +56,6 @@ This folder contains all publicly available assets and serves as the entry point
56
56
57
57
*`css` and `js` - Contains the css and js file(s) generated by the webpack (npm) from the assets folder
58
58
*`fonts` and `images` - Contain the font and image file(s) copied by the webpack (npm) from the assets folder
59
-
*`uploads` - a folder that normally contains admin avatar images
60
59
*`.htaccess` - server configuration file used by Apache web server; it enables the URL rewrite functionality
61
60
*`index.php` - the application's main entry point
62
61
*`robots.txt.dist` - a sample robots.txt file that allows/denies bot access to certain areas of your application; activate it by duplicating the file as `robots.txt` and comment out the lines that don't match your environment
@@ -67,19 +66,17 @@ This folder contains a separate folder for each Module.
67
66
68
67
These are the modules included by default:
69
68
70
-
*`App` - Core functionality, from authentication, to rendering, to error reporting
69
+
*`App` - Core functionality, from rendering, to error reporting
71
70
*`Page` - Contains functionality for displaying a page
72
71
73
72
### Module contents
74
73
75
74
Each Module folder, in turn, should contain the following folders, unless they are empty:
76
75
77
-
*`src/Controller` - Action classes
76
+
*`src/Factory` - Factories which provide handler/service dependencies
77
+
*`src/Handler` - Request handlers
78
78
*`src/Service` - Service classes
79
79
80
-
The above example is just some of the folders a project may include, but they should give you an idea about the recommended structure.
81
-
Other classes the `src` folder may include are `InputFilter`, `EventListener`, `Helper`, `Command`, `Factory` etc.
82
-
83
80
The `src` folder in each Module folder normally also contains these files:
84
81
85
82
*`ConfigProvider.php` - Configuration data for the module
@@ -89,5 +86,5 @@ The `src` folder in each Module folder normally also contains these files:
89
86
90
87
This directory contains the template files.
91
88
92
-
> `twig` is used as Templating Engine.
89
+
> `Twig` is used as templating engine.
93
90
> All template files have the extension `.html.twig`.
0 commit comments