Does the data tier verify any of the user's input? or does it just store data?
Example - User adds email to his profile.
Is this right?
Presentation Tier - Verify Email format is valid (client side)
Logic tier
Data:
Logic:
Note :
Data layer task is to connect with the database and to perform CRUD operation if you want to apply extra validation logic than you must do it in the logical layer
You architecture changes
Presentation Tier -
Logic tier
Data Layer:
Data Store i.e DataBase
Return
DataLyer
Logic Layer: