Design of components
This document should provide guidelines for designing colaborative components of the system.
The required quality for all the component implementation are:
loose coupling - separate component/class functionality to independent elements.
interface for classes - where there is a minimal chance that a component-class will be used by more than one other component-class, define also the appropriate interface
class will not aggregate dependend instances - leave creating and managing depended classes to framework and define „setter“ method for framework, who can give an instance of depended class.
do one job and do the best
The components should colaborate using a Spring framework or .NET Spring framework. Because main classes would be probably developed or compiled into C# or other .NET, .NET Springframework should be used as basic framework for managing the application objects and tasks.
projekty/design_of_components.txt · Poslední úprava: 2010/03/26 16:10 autor: tomaton