Commit Graph

5 Commits

Author SHA1 Message Date
Stephan Kasdorf
70dccc3f15 REFACTORING: framework cleanup, preparing for php7.4 and loading dependencies from composer 2019-11-03 22:06:50 +01:00
Stephan Kasdorf
c9f29ce086 Version 0.3.5 beta 2018-03-14 16:37:09 +01:00
Stephan Kasdorf
86433af5bf Version 0.3 beta 04.02.2018
Improved: The Router now accepts actions, either trough the _action as parameter, or on the URL pattern after the controller name Example: http://youdomain/[controllername]/[actionname]/
It is now possible to load as many navigations on the page as wanted by passing the name to the JsonNavigation::getInstance()->loadJsonNavigationArray('[NAME]'); call in the navigationAction of the Controller
Building forms by simple adding the namespace use Nibiru\Factory\Form; and calling Example: Form::addInputTypeText( array( 'name' => 'lastname', 'value' => 'placeholder' ) ); To finalize the form the last call should be something like this: Form::addForm( array('name' => 'testform', 'method' => 'post', 'action' => '/' . Router::getInstance()->currentPage(), 'target' => '_self') );
The Database design has fully been refactored, now it contains an autoloading mechanism which can be triggert by createing a database folder in the application folder, a Example file is in the folder applicatoin/database
The Database access can now be implemented anywhere in your application by adding the namespace to your database accessing Logic: use Nibiru\Factory\Db;
2018-02-04 22:16:21 +01:00
Stephan Kasdorf
4a8e3493ab 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. 2017-07-19 08:58:06 +02:00
Stephan Kasdorf
4bfe207b78 First commit, version 0.1 beta base nibiru framework 2017-06-16 12:21:21 +02:00