Daniel Siepmann
930903e39f
The existing query was not fully working as intended. Also it did not work with proper MySQL sql_mode settings. This is fixed by building a proper query which delivers expected and deterministic results. We now always have latest records first. Also there is no need to fetch the sys_language_uid, as we only fetch localized record if only one language is allowed. That way we can just check configuration and use the configuration to do language overlay. Also there was no need for an join, therefore query was reduced to necessary stuff. Relates: #35 |
||
---|---|---|
.github/workflows | ||
Classes | ||
Configuration | ||
Documentation | ||
Resources/Private/Language | ||
Tests | ||
.gitignore | ||
composer.json | ||
ext_emconf.php | ||
ext_localconf.php | ||
ext_tables.sql | ||
LICENSE | ||
phpcs.xml.dist | ||
phpstan.neon | ||
phpunit.xml.dist | ||
readme.rst |
About
This extension should only demonstrate technical features of TYPO3. It is not intended for use in production systems.
The following features should be demonstrated:
- PSR-4 Autoloading Standard
-
Use composer.json to provide autoloading information. Classes will be loaded when needed. No need for require statements.
- PSR-12 Extended Coding Style Guide
-
Current stable Coding Style Guide, applied via Coding Sniffer.
- PSR-7 HTTP Message Interface
-
Also known as Request Response, used to create tracking information from incoming request.
- PSR-11 Container Interface
-
Also known as Dependency Injection. Used to resolve external dependencies, e.g. foreign classes. Existing TYPO3 factories are used to build QueryBuilder instances. Also DI is "misused" to provide configuration for dashboard widgets and tracking.
- PSR-15 HTTP Handlers
-
Also known as middlewares. Used to hook into processing to create tracking information.
- PSR-14 Event Dispatcher
-
Not in use yet.
- EXT:dashboard
-
Used to visualize collected tracking information.
Todos
- Add version matrix to test with multiple PHP versions.
Example
The following widgets are added and could look like:
A new record is added which looks like: