Project

General

Profile

Actions

Feature #12337

open

Feature #12611: Refactoring: Bootstrap with Lazy Loading

Database.php: better caching

Added by Marc Egger about 3 years ago. Updated over 2 years ago.

Status:
Some day maybe
Priority:
Normal
Assignee:
Carsten Rose
Target version:
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 #1

Updated by Marc Egger about 3 years ago

  • Description updated (diff)
Actions #2

Updated by Marc Egger about 3 years ago

  • Status changed from New to Priorize
Actions #3

Updated by Carsten Rose almost 3 years ago

  • Tracker changed from Support to Feature
Actions #4

Updated by Marc Egger almost 3 years ago

  • Parent task set to #12611
Actions #5

Updated by Marc Egger over 2 years ago

  • Status changed from Priorize to Some day maybe
Actions #6

Updated by Marc Egger over 2 years ago

  • Assignee changed from Marc Egger to Carsten Rose
Actions

Also available in: Atom PDF