|
A Web-based Application for Unit
Conversion
This is an example for the data intensive application. All the units
were collected and stored in a database (See Figure below). The
application has two options: “Complete Collection” and “Frequently
Used”. As the page is loaded, the “Frequently Used” option is used as
Unit Categories are loaded into the category combobox at the top right
corner. If user checks the “Complete selection” radio button, the
category combobox will immediate load all the unit categories. After
the category (e.g. Length) is selected and the “Get Units” button is
clicked, the application displays either all the Length units (if the
“Complete Collection” radio button is checked), or the frequently used
units for Length (if the “Frequently Used” radio button is checked).
The units are loaded simultaneously into two list boxes.
The user selects the left unit to be convert from, and the right unit
to be convert to, and at the same time, the application displays the
short sign in the text boxes below the list boxes (e.g., “m” for
“meter” and “in” for “inch”). In the last step, the user click on the
“Get Data” button to get the conversion value, for example, in the
figure below it shows 1 meter = 39.37 inch.
|