/
Prevent errors on kDBConnection class change [5.3.0-B1]
Prevent errors on kDBConnection class change [5.3.0-B1]
If we ever going to change kDBConnection
class, that is responsible for all database related interactions, then we must ensure that kDBLoadBalancer
class, that allows to manage master/slave setups would also work. It's easy to forget adding a corresponding method to kDBLoadBalancer
class for every kDBConnection
class method.
To solve that problem I propose to create a public interface out of kDBConnection
class and make both kDBConnection
and kDBLoadBalancer
implement it. This way PHP won't even allow to run a script if we don't add method to both classes.
What we must take care of anyway is to keep public interface up to date first.
Related Tasks
, multiple selections available,
Related content
[development sugar] Simplify kDBEventHandler::CheckPermission method usage
[development sugar] Simplify kDBEventHandler::CheckPermission method usage
More like this
BC Breaks vs 5.2.2-B1 [5.3.0-B1]
BC Breaks vs 5.2.2-B1 [5.3.0-B1]
More like this
Migrate to MySQLi Driver [5.3.0-B1]
Migrate to MySQLi Driver [5.3.0-B1]
More like this
[database] Non-unique "ResourceId" for users with DB Load Balancer [5.2.2-B2]
[database] Non-unique "ResourceId" for users with DB Load Balancer [5.2.2-B2]
More like this
2.3. Константы
2.3. Константы
More like this
[emails] Email event usage refactoring [5.2.0-B3]
[emails] Email event usage refactoring [5.2.0-B3]
More like this