10 Commits

Author SHA1 Message Date
stephan.kasdorf
157016ff35 Add TypeSwitch class and enhance attribute handling
Introduced a new `TypeSwitch` class to manage input type switch fields for forms, allowing simplified creation of toggle switches or binary options. Enhanced attribute handling in `formattributes.php` to conditionally remove the `checked` attribute only if not explicitly specified. Updated framework to include the new `TypeSwitch` class.
2025-07-14 12:20:09 +02:00
Stephan Kasdorf
b1bded6101 Version 0.9.6 beta - added new form elements, also added a nibiru binary in order to create modules and plugins. 2023-04-03 21:13:03 +02:00
Stephan Kasdorf
bee0a7012f Version 0.9.5 beta - Core update added autocomplete through the IDb interface, the DB factory now also supports autocomplete. 2020-10-30 12:37:14 +01:00
Stephan Kasdorf
49ffcdeebd Version 0.9.5 beta - added opening and closing div to be put anywhere in the form, fixed some configuration bugs, and warnings in the autoloading class, missing file implementation. 2020-09-05 16:51:04 +02:00
Stephan Kasdorf
7306db234e REFACTORING: updated the base template with some examples, also added annotations for autocomplete in the core view and controller core. 2019-11-03 23:30:44 +01:00
Stephan Kasdorf
aff8730316 CORE UPDATE: Minor update concerning the autoloading class in the core, now it is also possible to give a loading order through the configuration
Minor update concerning the form factory classes in the core, now some javascript events are implemented as well, another update concerning functinoallity will follow soon.
             Update on the example configuration file, implementing the autoloading order of interfaces, moduels and traits.
             Update for multidatabase support, see the documentation on http://www.nibiru-framework.com
2018-08-28 11:50:22 +02:00
Stephan Kasdorf
50ee482b9e Bugfix, wrong namespaceing 2018-07-16 14:59:30 +02:00
Stephan Kasdorf
ca9ff28194 Update Version 0.4.0 beta 09.07.2018
- Bugfix on the form classes, now the select option is correctly set back.
- Update for the database adapter
- Improvement of the form elements, added onchange on the select boxes, the form tag now can have no element if needed.
- Implementation of the Postgres and MySQL Adapter with propper Namespacing.
- Minor bugfixing
2018-07-09 18:48:03 +02: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