When components in a layer share a common set of behaviors those behaviors are extracted into a common class or component from which all the components in the layer inherit. Eases maintenance and promotes reuse. Also reduces dependencies between layers. Example can be base type implementation checking object validity using business rules.
No comments:
Post a Comment