What is LAYERING ARRANGEMENT OF MODULES | What is Layering in Software engineering ?
- In a layered design solution, the modules are arranged into layers based on their call realationship.
- A module is allowed to call only the modules that are at a lower layer , i.e, a module should not call al module that is either at higher layer or even in the same layer .
Technologies of Layered Design :-
- Super-ordinate :- A module that controls another module.
- Sub-ordinate :- A module which is controlled by another module .
- Visibility :- A module 'A' is said to be visible to another module 'B' , i 'A' directly or indirectly calls 'B'.
GOOD CONTROL ABSRACTION
POOR CONTROL ABSTRACTION
GOOD CONTROL ABSRACTION