Closed webpigeon closed 8 years ago
Removes the need for singletons and static blocks in the code, making the code easier to unit test. Also makes it easier to swap stuff out at runtime (ie, use different database engine or authentication backend).
Removes the need for singletons and static blocks in the code, making the code easier to unit test. Also makes it easier to swap stuff out at runtime (ie, use different database engine or authentication backend).