Overview of Batoi Code Framework Architecture
Batoi Code Framework Objects, Arrays And Libraries
Batoi Code Framework Application File Structure
Batoi Code Framework Application Database Structure
Controller in Batoi Code Framework
Event in Batoi Code Framework
Model in Batoi Code Framework
View in Batoi Code Framework
Users and Roles in Batoi Code Framework
Overview of Batoi Code Framework IDE
Batoi Code Framework Coding Standards and Conventions
Get Started with the Batoi Code Framework
Glossary of Terms Used in Batoi Code Framework
Installation and Upgrades of Batoi Code Framework
Batoi Code Framework Application File Structure
The Batoi Code Framework reinforces the correct development paradigm through different prescriptions and architectural procedures. Having a clear directory and file structure is one of them. This creates a separation of business logic from UI design on one hand, and user development from Batoi Code Framework's upgrades and Batoi Code Framework IDE on the other. After installation, the Batoi Code Framework creates the following directory structure:
Directories with respect to the application root | Description of directories and their usage |
---|---|
/login | This directory contains files structure as the following:/index.php - Login index file./sso.php - Single Sign-On configuration file. |
/osf | This directory contains all files of the Batoi Code Framework IDE. You can even delete this directory after completing development, and that will not affect the running of your application in any way. Different types of files are stored in their own subdirectories like the following:/data - data files/ide - controller files/install - installation files/lib - The scripts and classes provided by the Batoi Code Framework are stored in this directory. Please note that the files in this directory will be updated if you do upgrades of the Batoi Code Framework in the future with newer versions./model - All files of Model or business logic are stored here. The Model classes or application classes are stored in a subdirectory /class , and independent scripts are stored in /script /thirdparty - external files/view - the Batoi Code Framework IDE view parts files |
/pub | This directory contains all folders and files related to CSS, fonts, images, and js files. Different types of files are stored in their own subdirectories like the following:/css - CSS files/fonts - Font files/images - Image files/js - Javascript files |
The Batoi Code Framework also provides a few key files in the application root that are critical for the application running. The following table provides details of each of these files:
The Batoi Code Framework files in the application root | Description of files and their usage |
---|---|
/changelog | If you enable Lifestream on the Batoi Code Framework IDE, the application will generate a log every time the application is accessed. This log information is stored as text files in this directory. |
/index.php | The cache files created by the application are stored in this directory. This includes static files created by application beforehand and served to the client-side for improving application performance and reducing the load on the server. |
/load.osf.php | This directory meant to store external scripts that are to be added to an application being developed by the Batoi Code Framework. |
/load.view.php | This directory is the storage of uploaded files to the application. You can save uploaded files in / form or in any other form as per the convenience of application requirements. |