tags:

views:

157

answers:

1

NInject's module architecture seems useful but I'm worried that it is going to get in a bit of a mess.

How do you organise your modules? Which assembly do you keep them in and how do you decide what wirings go in which module?

+3  A: 

Each subsystem gets a module. Of course the definition of what warrants categorisation as a 'subsystem' depends...

In some cases, responsibility for some bindings gets pushed up to a higher level as a lower-level subsystem/component is not in a position to make a final authoritative decision - in some cases this can be achieved by passing parameters into the Module.

Ruben Bartelink