Reference no: EM13705123
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 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, web page, or static page that interacts with the user, and, typically, with a database. The form or web page 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. 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.
Consider the subsequent:
- What are the advantages and disadvantages of front-end and back-end validation?
- In which specific situations would one technique of validation be preferred over the other?
Can you explain the advantages and disadvantages of front-end and back-end validation and technique of validation?
Calculates the area of a triangle
: Write a simple Java application which calculates the area of a triangle. Your application should ask the user to enter the base and height values of the triangle.
|
Calculate the weight of benzene codistilled with water
: Problem- Calculate the weight of benzene codistilled with each gram of water and the percentage composition of the vapor produced during a steam distillation. The boiling point of the mixture is 69.4C. The vapor pressure of water at 69.4C is 227.7..
|
Calculate the percentage wins of a team
: Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..
|
Calculate the specific gravity of the reservoir gas
: Problem- A reservoir containing retrograde gas has a reservoir pressure higher than the dew-point pressure of the gras as evidenced by constant producing gas-oil ratio. The gas is produced through three stages of seperation. Surface production rat..
|
Front-end and back-end validation
: What are the advantages and disadvantages of front-end and back-end validation and in which specific situations would one technique of validation be preferred over the other?
|
Determine the limiting reactant for the reaction
: Problem- Magnesium oxide can be made by heating magnesium metal in the presence of the oxygen. The balanced equation for the reaction is 2Mg(s) + O2(g) ? 2MgO(s).
|
How many moles of water are produced in the reaction
: Problem- The octane rating of gasoline is a relationship of the burning efficiency of the given gasoline mixture to the burning efficiency of octane (C8H18). (Figure 1) Like most hydrocarbons, octane reacts with oxygen gas to produce carbon dioxid..
|
Write programs that read a line of input
: Write programs that read a line of input as a string and input
|
Program that allows the user to enter an unknown number
: Writer a program that allows the user to enter an unknown number of characters, stores those characters in a data structure (a vector) and then prints the values to the screen.
|