Question: Data validation refers to checking the content of data to ensure that it satisfies certain rules, known as constraints. For example, the employee name should

Data validation refers to checking the content of data to ensure that it satisfies certain rules, known as constraints. For example, the employee name should never be omitted in the employee table, and the delivery date should be after (greater than) the order date. Any interactive application, whether for opening a bank account, registering an online complaint, or filing income tax, has a form or webpage that interacts with the user, and, typically, with a database. The form or webpage is the front-end application, and the database is a back-end application.The application can validate data either at the front end or at the back end or use a combination of both approaches. At the front end, you write code specific to controls in the form. For example, to enforce the rule that the employee name is required, you can disable the form's submit button when the value in the employee name text box is empty or blank. At the back end, you can apply a NOT NULL constraint to the employee name field in the employee table, which causes a new or modified record to be rejected if that field does not have a value. Describe the advantages and disadvantages of front-end (application) validation and backend (database) validation.Provide one example of each type of validation. Include a screenshot of an input form you have used or find on the Internet that demonstrates front-end validation. Include the data you input that was not valid and the response you received indicating that the input data was invalid.Include a screenshot of an input form you have used or find on the Internet that demonstrates backend validation. Include the data you input that was not valid and the response you received indicating that the input data was invalid.Include a discussion of how you knew that in one example front-end validation was probably used and that the other used backend validation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!