User Interface Design Principles
A user interface needs to be well structured and arranged in a attractive and non - distracting way. Especially because its the first impression which a user gets about your program or the application.
Sometimes though your application is capable of many awesome stuff, users may not use it or like it, may be not very popular among the public, simply because its not appealing to them.
So this is a small guide which will help you to design your user interface according to the standards and make your app attractive!
Let's get started with the fundamentals of UI designing.
UI Design Principles
There are 5 basic principles of UI design which is also know as "SOLID"
- S - SRP or the Single Responsibility Principle
- O - OCP or the Open Close Principle
- L - LSP or the Liskov Substitution Principle
- I - ISP or the Interface segregation principle
- D - DIP or the Dependency Inversion Principle
1.0 The Single Responsibility Principle
A class should have one, and only one reason to change
The meaning is carried out by the phrase itself. This means a single class should have only a single responsibility. Thus changes in the class should affect only the class itself. This is more like cohesion.
The following image (figure 2.1) explains you more about the SRP in a more general manner. Its the most famous example for the SRP principle. This simply means that you shouldn't do a thing just because you can!
![]() |
Figure 2.1 Single Responsibility Principle |
This principle can be further explained by using a class diagram.
![]() |
figure 2.2 Classes without using the SRP |
![]() |
figure 2.3 Classes using the SRP |
Comments
Post a Comment