This website uses cookies in order to offer you the most relevant information and services online. Please accept cookies for optimal performance.
Learn More

Batoi Framework Application File Structure

The Batoi 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 Framework's upgrades and Batoi Framework IDE on the other. After installation, the Batoi Framework creates the following directory structure:
Directories with respect to the application rootDescription of directories and their usage
/loginThis directory contains files structure as the following:
/index.php - Login index file.
/sso.php - Single Sign-On configuration file.
/osfThis directory contains all files of the Batoi 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 Framework are stored in this directory. Please note that the files in this directory will be updated if you do upgrades of the Batoi 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 Framework IDE view parts files
/pubThis 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 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 Framework files in the application rootDescription of files and their usage
/changelogIf you enable Lifestream on the Batoi 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.phpThe 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.phpThis directory meant to store external scripts that are to be added to an application being developed by the Batoi Framework.
/load.view.phpThis 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.
Give your feedback to improve the article

Need our assistance? We are available with you.

Existing Customer?
Get Support
Talk To Consultant?
Get An Appointment
Contact Us

Batoi global offices and contact details

Stay Connected

Join our community, newsletters, and social media.