From: Samuel L. <sam...@gm...> - 2013-11-19 16:39:28
|
On 2013-11-19 17:36, Jonathan Alvarsson wrote: > > I think the main problem was to get an easy way to get access to > the central Singleton/Manager. If I recall correctly, it is not > that easy to access the (unique) manager from anywhere out in the > domain objects? > > > Hm. I think of it as the manager methods are working on domain > objects. If the domain objects need to know about the manager then I > think one should reconsider what functionality is put where. Of course > anything that works is good and I can only explain what my thoughts > were when I set up the manager framework. Ok, thanks for the info! I think I never really got a complete grasp of the thoughts here, so it's great to get this info. I'll chew on that, and have a look if I can comply more with that thinking in my next refactoring round. Cheers // Samuel |