22 Commits

Author SHA1 Message Date
stephan.kasdorf
e4462e9402 Enhance IDb.php, pdo.php, and mysql.db.php with deleteRowById method for improved database handling. 2025-11-28 09:24:09 +01:00
Stephan Kasdorf
1d607d99f6 Merge pull request #20 from alllinux/v1.0.1-form-checkbox-disabled
V1.0.1-rc
2024-12-03 11:17:25 +01:00
stephan.kasdorf
be9d217732 Add return type and values for update methods.
The methods `updateRowByFieldWhere` and `updateColumnByFieldWhere` in `mysql.db.php` and `pdo.php` now have a `bool` return type and explicitly return the result of the database operations. This change improves code readability and enforces consistent function outputs, aiding in better error handling and debugging.
2024-12-03 11:12:24 +01:00
Stephan Kasdorf
a68a1970c8 Add encryption handling to updateRowById method
Extended the updateRowById method across mysql, pdo, and IDb to support encrypted fields. Updated the PDO update logic to conditionally encrypt data using DES_ENCRYPT when specified. This ensures sensitive data is managed securely during updates.
2024-10-25 13:59:41 +02:00
stephan.kasdorf
e92091f235 Refactor and enhance database and form operations
Significant changes have been implemented in the database operations, particularly in update and insert functions, ensuring more stable and efficient handling of queries. Form capabilities have been enhanced by adding new attributes for processing decimal steps, further improving data input methods. This update also includes considerable refactoring and security enhancements in the PDO class.
2024-03-27 12:24:25 +01:00
stephan.kasdorf
a793f79798 Update database operations and form capabilities
Database operations have been redefined and additional functionality has been added for handling database queries. Functions for updating rows by ID and inserting array into table have been updated for better reliability. In addition, new form attributes for managing decimal steps have been added to enhance data input capabilities. Refactoring and security improvements have also been addressed in the PDO class.
2024-03-21 16:25:13 +01:00
Stephan Kasdorf
5584070f4d Bugfixes and updates on the forms and database access as well as the pagination 2021-05-19 19:57:23 +02:00
Stephan Kasdorf
618c369433 Version 0.9.5 beta - bugfix for the request parameters 2021-04-26 14:02:41 +02:00
Stephan Kasdorf
785b1cd8a9 Version 0.9.5 beta - correction for the mysql adapter 2021-01-26 19:48:06 +01:00
Stephan Kasdorf
0aaa7d57ee Version 0.9.5 beta - updated selectDatasetByFieldWhere with sort order and removed numeric array keys. 2020-11-06 22:19:13 +01:00
Stephan Kasdorf
790f79530e Version 0.9.5 beta - Updated the MySQL adapter in order to load complete result sets by where selection. 2020-11-06 17:34:36 +01: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
94b626eb36 Version 0.9.5 beta - minor bugfix for selecting datasets by primary key id, now is working with the abstract layer and the PDO adapter. 2020-01-06 12:47:04 +01: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
70dccc3f15 REFACTORING: framework cleanup, preparing for php7.4 and loading dependencies from composer 2019-11-03 22:06:50 +01:00
Stephan Kasdorf
7bc5198d31 Version 0.7.0 beta - update for database functionality 2019-01-27 16:20:25 +01:00
Stephan Kasdorf
a2bb8a2f48 BUGFIX: not loading because of GLOBALS, now fixed- 2019-01-25 20:01:31 +01:00
Stephan Kasdorf
f7e47b05bf BUGFIXING: version 0.6.1, update on the pagination 2019-01-04 19:15:57 +01:00
Stephan Kasdorf
acd6e7fce5 VERSION UPDATE: beta 0.6.0 see the readme.md document 2018-12-05 20:59:28 +01: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