Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-08-10 | Add a better mechanism to detect Entity changes | Thomas Lange | 1 | -6/+6 | |
Implement and use a better mechanism to detect changes of attributes of the Entity objects by using a private variable which keeps track of the changed Entity attributes ("properties") via the "set" method. The "insert" and "update" method of the Repository now calls the method "getModifiedKeys" of the Entity class to get a list of properties which have been changed and builds the database query accordingly. This makes the use of "FALSE" as default value for the Entity attributes obsolete, so they have been set to the initial PHP default ("NULL"). | |||||
2021-07-22 | Do not redefine properties of Entity class | Thomas Lange | 1 | -3/+0 | |
Do not redefine properties that are already defined in the Entity class. | |||||
2021-07-01 | Add category system to categorize posts (readme) | Thomas Lange | 1 | -6/+7 | |
This commit implements a new category system to categorize posts. Each category can have an unlimited number of nested children categories. A single post don't necessarily need to be in a category, but it can. Each category can have a full content body like posts or pages, so you have enough space to describe the content of your categories. Please note that you need to have at least the following MySQL/MariaDB versions to use the category system, because it uses "WITH RECURSIVE" database queries, the so-called "Common-Table-Expressions (CTE)". MariaDB: 10.2.2 MySQL: 8.0 See: https://mariadb.com/kb/en/with/ See: https://dev.mysql.com/doc/refman/8.0/en/with.html | |||||
2021-06-25 | Reorganize namespaces | Thomas Lange | 1 | -0/+14 | |