Installation and Upgrades of Batoi Code Framework

Installing the Batoi Code Framework is quite easy and fast. Please follow the instructions below to install the framework - a task of a few minutes.
  1. Download the Batoi Code Framework ZIP from the Download page and unzip it into any folder or subfolder in your webroot (webroot is the parent folder or directory in your PC or server which can be accessed through HTTP).
  2. Go to the URL https://your-domain/folder1/folder2/.../folderN/osf/install
  3. Click the Click to begin the Setup button to set up your application and you will be taken to a page to fill in the details of your application. Fill in the requisite details and click the Submit button.


  1. Check your application URL (where you are going to develop your new application) is correct. If you find any disparity, please rectify it at this point. Make sure that the URL does not have a / at the end.
  2. The username admin (case-sensitive) is the superuser who can access the Batoi Code Framework IDE and can develop, manage, and access the entire application. This user gets such a right through a default role assigned to it - Administrator. Neither this username nor its association with the role Administrator can be modified.
  3. Currently, the Batoi Code Framework prescribes the use of PHP Data Object (PDO) as the data-access abstraction layer and prepared statements for querying databases. An example of DSN for MYSQL (by PDO and consequently by the Batoi Code Framework) is: MYSQL: mysql:host=yourhostname;dbname=yourdbname
  4. The <table_prefix> will be a string that will be prepended to each table in the database. In the case of the Batoi Code Framework system tables, they will be automatically done. In case of the new tables you create, make sure that you do the same.
  5. Once you are done with the development of the application, you can remove the /ide folder on your live site if you wish - this will not affect the working of your live site in any way. You can always upload this folder at any later stage if you would like to modify your application.

Once you install, you are done with your application setup, security procedures, access privilege settings, and sign-in forms. Now, sign in at your Batoi Code Framework IDE to start developing your application. You can find all requisite information on the comprehensive documentation available online to read and download.

Upgrading Batoi Code Framework is quite easy and fast. Please follow the following steps to upgrade the Batoi Code Framework:

  1. Download the Batoi Code Framework ZIP from the website and overwrite the respective files/folders:
  2. /ide and all files inside it
  3. /lib and all files inside it
  4. /load.osf.php
  5. /load.view.php