sharkhandler
Programmer
Hi all.
I have the following .NET object model:
A series of concrete classes derived from an abstract base class
A factory object that creates and returns instances of these dereived classes
A controller object that creates the factory and processes the objects. This is basically invoked from main().
My question is:
All these objects are currently sitting within a single DLL in .NET. I have logically ordered them into different namespaces but I am trying to work out if they should belong within physically different components. My feeling is that as the factory and derived classes are tightly coupled they should be within one DLL, but the controller object should exist within another DLL, as this could potentially make calls to other factory objects.
Does anyone know the best way of approaching this physical design?
Paul
I have the following .NET object model:
A series of concrete classes derived from an abstract base class
A factory object that creates and returns instances of these dereived classes
A controller object that creates the factory and processes the objects. This is basically invoked from main().
My question is:
All these objects are currently sitting within a single DLL in .NET. I have logically ordered them into different namespaces but I am trying to work out if they should belong within physically different components. My feeling is that as the factory and derived classes are tightly coupled they should be within one DLL, but the controller object should exist within another DLL, as this could potentially make calls to other factory objects.
Does anyone know the best way of approaching this physical design?
Paul