3 Tier Architecture - data tier just stores data only?
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
  
 - Verify Email format is valid (again?)
 - Set Email type (ie is Primary email?)
 - Check record limit allowed to store email

Data:
 
 - Store the email record

Logic: 
 
 - Send Notification to presentation tier
 - Send Notification via Email

       
3 Tier Architecture - data tier just stores data only?
===

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
  
 - Verify Email format is valid (again?)
 - Set Email type (ie is Primary email?)
 - Check record limit allowed to store email

Data:
 
 - Store the email record

Logic: 
 
 - Send Notification to presentation tier
 - Send Notification via Email

       