Project

General

Profile

Feature #12337

Updated by Marc Egger almost 3 years ago

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) class 
 * make Database a static class  (?) 

 Both changes need a lot of refactoring. class

Back