Overview of Batoi RAD Framework Architecture
Batoi RAD Framework Objects, Arrays And Libraries
Batoi RAD Framework Application File Structure
Controller in Batoi RAD Framework
Batoi RAD Framework Application Database Structure
Event in Batoi RAD Framework
Model in Batoi RAD Framework
View in Batoi RAD Framework
Users and Roles in Batoi RAD Framework
Overview of Batoi RAD Framework IDE
Batoi RAD Framework Coding Standards and Conventions
Get Started with the Batoi RAD Framework
Glossary of Terms Used in Batoi RAD Framework
Installation and Upgrades of Batoi RAD Framework
Batoi RAD Framework Application File Structure
The Batoi RAD 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 RAD Framework's upgrades and Batoi RAD Framework IDE on the other. After installation, the Batoi RAD 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 RAD 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 RAD Framework are stored in this directory. Please note that the files in this directory will be updated if you do upgrades of the Batoi RAD 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 RAD 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 RAD 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 RAD Framework files in the application root | Description of files and their usage |
---|---|
/changelog | If you enable Lifestream on the Batoi RAD 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 RAD 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. |