Homework 2
Due date: July 11, 3 pm. Submit as a single e-mail to nnovotny@engineering.uiowa.edu
Part 1: ASP
You will probably need to use the computers in the ALF Lab for this Part.
- Write an ASP that takes input from the user from a HTML form and produces a result (an example is conversion of kilometers to miles or vice versa). Submit the HTML and ASP files and show the URL of the files.
- Write an ASP that enlarges the web pages you completed in Homework 1 to: take input from the user, take some data from a database table and produce a HTML page for the user where the database table contains the number of items in an inventory. The user can then enter a part number and the resulting inventory level can be shown to the user. Submit the HTML and ASP files and show the URL of the files.
Part 2: ASP - Advanced Database Manipulation
You will probably need to use the computers in the ALF Lab for this Part.
- Write an ASP that writes a record to the database used in Homework 2. See example files in Section 2. Submit the HTML and ASP files and show the URL of the files.
- Write an ASP that deletes a record from the database used in Homework 2. Submit the HTML and ASP files and show the URL of the files.
- Write an ASP that updates a record in the database used in Homework 2. Submit the HTML and ASP files and show the URL of the files.
You are only required to submit files for two of the three database manipulation problems. E.g. Submit files for writing a record and updating a record and ignore deleting a record.
Part 3: XML and XSL
-
- Create an XML file that includes a list of 6 of your friends (fictitious) names, telephone numbers, e-mail addresses and other information.
- Create a .css and a .xsl file to present your list in an elegant form (use different styles from those presented in class)
- Create a .xsl file to sort the XML file by name.
Submit the XML files (all of them, including one with a reference to the CSS file and two others with the reference to the XSL file), the CSS and XSL files. - What is RSS (for news sites)? How does it use XML? Give an example of the structure of the code. How can this be used by news readers (aggregators)? (There are a number of useful sites including http://news.yahoo.com/rss and HERE)