Presentation layer vs business layer vs data layer
Hello, can someone explain why we have things like
I know that we need them because of principles like separation of concerns, but why do they matter, just for easier mantainability?
Can someone confirm if the following is correct pls:
By the way, this is what we call as system design?
presentation logic, business logic and data logicpls.I know that we need them because of principles like separation of concerns, but why do they matter, just for easier mantainability?
Can someone confirm if the following is correct pls:
presentation layer - UI, how everything should be displayed. It can still contain some logic, like if user is login, display a particular icon at top left of screen etc.
- workflow of how things should work based on a particular domain. Like if user is less than 18 years old, that person can't register.
data layer`- We make use of functions/api to retrieve data from databaseBy the way, this is what we call as system design?