Actions
Feature #12337
openFeature #12611: Refactoring: Bootstrap with Lazy Loading
Database.php: better caching
Start date:
07.04.2021
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
Vote:
Description
Currently only the mysqli handle is cached but the Database object is recreated often.
Possible changes
- switch to singleton pattern for Database class (call Database::getInstance() instead of new Database)
- make Database a static class (?)
Both changes need a lot of refactoring.
Actions