Being a programmer, I would like to see a single connection class where I have to define my database and connection string only once. I find with all of the plugins that I have to keep redefining the connection string. All of the plugins etc would then call that single class.
Of course this info already exists in the config file. Should there be a push from Core to say if you are going to connect to the database, pull the info from config?
- The topic ‘Single DB Connection File for All Modules’ is closed to new replies.