Frontend application
The frontend refers to the user-facing part of the application, the sections of the project that are accessible to users.
Request processing order
- All requests are received by the /public_html/index.php file, which includes all the necessary application libraries.
- The /public_html/index.responsive.php file runs the application's request processing
bff::i()->run();
. - The application performs routing and calls the corresponding method of the frontend/base controller of the module or extension.
- The method handles incoming request parameters and generates a response as an HTML string or JSON.
Development
For development, it is recommended to use all the available mechanisms for implementing extensions described in the "Extensions" section.
Connecting js/css files
The process of connecting these files is described in detail in the article "Static Files".