Home  • University • Campus

Getting started Intellect Framework 9.

1

⤓ Download Intellect Framework

Download intellect framework form official site.
2

⚙ Open configs/app.config

Update it as follows:
<?php 
//---Template----//
$template="core"; //core,adminlte, deskapp, intellect,staradmin,edumin,haatbaz,violet

//---Business Sector---//
$sector="appstore";//appstore,company,academy,hospital,retail,ecommerce,restaurant,hotel,garments,agro

//---App Name---//
$app_name="App Store";

//---Base URL---//
//$base_url="/projects/core"; //local
$base_url="https://intelsofts.com/store"; //remote

//---Logo---//
$logo= $base_url."/img/logo.jpg";

//---Verson----//
$version="9"; 

//---Timezone---
date_default_timezone_set("Asia/Dhaka");

//Database date Format
$now=date("Y-m-d H:i:s");

//---Startup Controller---
$startup_controller="Home";
3

🔍 Find default controller HomeController at Controllers directory

Controller file will be at any of Modul/Area directory located at controllers directory. eg. Inventory, Account, HR, Home etc.
<?php
class HomeController extends Controller{

    public function __construct(){
      $this->module="Site";//"Site" indicates folder name where the Home directory is located for containing of all the views (index.view.php etc) of this controller.
    }
    
   //Note: view name will be identical to function name
    public function index($arg){   
       $this->view(); //this view will be loaded from "views/Site/Home/index.view.php" path
    } 
}
?>
4

Views

In the views directory you can see 4 types of directory. 1. Components 2. Layouts 3. Menus 4. Pages 1. Components: Components are categorize with templates. Each template could have a set of same components. Components are small parts of UI of the whole page can be share and use everywhere in the content page and master page as well. 2. Layouts: Layouts are part of master page. Layouts are also categorize with templates and each template could have a same or different layout files (header.layout.php, footer.layout.php, sidebar.layout.php etc). 3. Menus: Layouts are also part of master page. Menus are categorized with business sectors each sector occupies menus which are associated with module of that sector. 4. Pages: Pages are content page. Each page contain different content dynamic or static. Components are used here frequently
5

Models

6

Integrate Multiple Templates

To be continue...

Comments 0


Copyright © 2025. Powered by Intellect Software Ltd