60ccc8b5d116660cbba3ed4de19d623737155c20
Nibiru
Rapid Prototyping PHP Framework
Version 0.3.5 beta
Introduction
Nibiru is a rapid prototyping framework written in PHP and based on the MVC design pattern. Now one may say that writing
another framework is not cool because there are so many, such as Symphony, ZendFramework ( where as I have prefered the
first version of that framework ), Laravel, etc.. But let's be honest they are complete overkill for smaller projects and
are not fit to quick start your "own" development.
another framework is not cool because there are so many, such as Symphony, ZendFramework ( where as I have prefered the
first version of that framework ), Laravel, etc.. But let's be honest they are complete overkill for smaller projects and
are not fit to quick start your "own" development.
That is why I have started my own little framework and am happy to provide the first version of Nibiru, in the version 0.1,
there is still a lot of work to be done in refactoring the core features for the View, Controller and the main Template
Engine Implementation.
there is still a lot of work to be done in refactoring the core features for the View, Controller and the main Template
Engine Implementation.
Currently supported features
- Controller, Model, View ( already tested )
- Smarty template engine ( already tested )
- Dwoo template engine ( untested )
- Twig template engine ( untested )
- PDO adapter to the MySQL database
- read datasets from a complete table
- read datasets by selection from a table
- write datasets by array into a table
- Bootstrap template of a dashboard
- Example page, on how to setup a View and Controller
- Example page, on how to setup a navigation with a json file
- Debugbar access through the configuration, sould be set to true in order to use it
In progress for the next version
- framework documentation
- class documentation
- soap interface to a given SOAP server
- Dwoo tempalte eninge tests
- Twig tempalte eninge tests
- Database access functionallity for the db.php Factory
Version 0.2 beta 19.07.2017
- Dispatcher update now supports actions within Controllers
- Main Framework call moved to the framework file
- Added support for ODBC in a basic Postgress class
- Updated the router and added a static printstufftoscreen call
Still in progress for the next version
- framework documentation
- class documentation
- soap interface to a given SOAP server
- Dwoo tempalte eninge tests
- Twig tempalte eninge tests
Previous version
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;
Update
Version 0.3.5 beta 14.03.2018
- Bugfix on the Router, now the currentPage will be returned correctly.
- Update for the database adapter, a detailed instruction on how to use it will be within the soon comming documentation
- Improvement of the form elements, those now are able to also swap div layers around a field, as well as correct labeling
- Added missing form elements, migration to a Form factory, in order to easy configure and install a form anywhere you like
- Minor bugfixing
The start is done, have success with PHP prototyping, and always remember to have fun!
Author: Stephan Kasdorf
Description
Languages
HTML
38.8%
JavaScript
26.4%
CSS
21.8%
PHP
7.9%
Less
4.5%
Other
0.5%