Layering

From sheep
Jump to navigation Jump to search

Layering

Create classes in different packages when they are different layers

e.g. Interface, domain/buisness, I/O GUI

Lower layers can not depend on higher layers

GUI - - -> Domain - - -> File I/O