version 0.2 beta nibiru framework, added onclick to the navbar json configuration, added a new dispatcher class that can handle actions as well, removed the dirty method calls fro the constructor $this->pageAction() and the navbar call, added ODBC support, and a postgress class. Overall improved the core functions of the framework.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
* @license - BSD License
|
||||
*/
|
||||
session_start();
|
||||
/**
|
||||
* @desc Nibiru framework functionality
|
||||
* TODO: write a javascript controller handler
|
||||
* in order to be full scale compatible with limbas
|
||||
*/
|
||||
require_once __DIR__ . '/t/messages.php';
|
||||
require_once __DIR__ . '/c/settings.php';
|
||||
require_once __DIR__ . '/c/config.php';
|
||||
@@ -29,10 +34,29 @@ require_once __DIR__ . '/i/mysql.php';
|
||||
require_once __DIR__ . '/c/mysql.php';
|
||||
require_once __DIR__ . '/i/pdo.php';
|
||||
require_once __DIR__ . '/c/pdo.php';
|
||||
require_once __DIR__ . '/i/odbc.php';
|
||||
require_once __DIR__ . '/c/odbc.php';
|
||||
require_once __DIR__ . '/i/postgres.php';
|
||||
require_once __DIR__ . '/c/postgres.php';
|
||||
|
||||
/**
|
||||
* @desc currently unfinished
|
||||
*/
|
||||
require_once __DIR__ . '/i/soap.php';
|
||||
require_once __DIR__ . '/c/soap.php';
|
||||
require_once __DIR__ . '/i/auth.php';
|
||||
require_once __DIR__ . '/c/auth.php';
|
||||
/**
|
||||
* @desc main application starters
|
||||
*/
|
||||
require_once __DIR__ . '/c/debug.php';
|
||||
require_once __DIR__ . '/c/display.php';
|
||||
require_once __DIR__ . '/dispatch.php';
|
||||
/**
|
||||
* @desc Framework dispatch process
|
||||
* basic controller and action handling
|
||||
*/
|
||||
require_once __DIR__ . '/c/dispatcher.php';
|
||||
/**
|
||||
* @desc Run the framework no game no gain
|
||||
*/
|
||||
Nibiru\Dispatcher::getInstance()->run();
|
||||
Reference in New Issue
Block a user