By piccoloprincipe
via css.dzone.com
Published: Sep 24 2010 / 19:24
The idea of a Registry is simple: providing a dynamic possibility for discovering collaborator objects, so that we not hardcode static calls to global objects like Singletons in each of them. In the testing environment, we can fill the Registry with mocks.
However, the problem is that then we hardcode static calls to the Registry
Tweet
SaveShareSend
Tags: frameworks, how-to, methodology, php



Add your comment