Design Pattern
Design Pattern
Design Pattern
Architecting Principals
There are some key design principals which help to achieve a good architectural
product and they are,
• Separation of concern
Separation of concern is nothing but a style of implementation of code
or business logic and UI in a clean way so that both should not mix
together. It means business concerns or other key logic should be in a
separate layer or file from UI design.
• Single Responsibility
As the name suggests, each module or component should be
responsible for one and only one task.
• Least Knowledge
It means one component should not know the detail of other
components.
• Do not Repeat
It means the same functionality should be repeated in multiple
components. One functionality should be in one component.