[ Home | Syllabus | Course Notes | Assignments | Search]
Assignment 4: Vintage Guitar Service (Draft - to be finalized by Tuesday March 30th)
Description: Provide a Guitar Service for listing vintage guitars. This assignment will consist of two parts - a Guitar Listing Service and Web Application for displaying and manipulating the information from the Guitar Service.
FUNCTIONAL REQUIREMENTS:
Vintage Guitar Server: You must provide a web service that will read a list of available guitars from an XML file similar to that described in chapter 13 of the book. In addition to the fields described in the book, add a field which contains the URL of the company that made this guitar (e.g. Fender, Gibson, Warwick). This service will read the XML file and create C# objects to represent the information in file. Thus programs using this service are unaware that the data source is an XML file. You will define an ordering of the collection of guitars so that the set of guitars can be enumerated. This service will provide the following methods.
NumberGuitars: returns the number of guitars in the collection
GetGuitar: Given a number between 1 and the NumberGuitars, returns the correct Guitar object.
GetEntireCollection: will return an array containing all guitars in the collection
AddGuitar: Given a guitar object, adds it to the collection.
Guitar Web Application: write a web application which will allow you to display and add guitars to the collection. Your application should contain the following pages
Introduction: Description of Web Site giving the number of guitars in the collection. It will contain links to pages for displaying the entire collection, displaying one guitar at a time and adding a new entry.
Display Entire collection: this page will use a data bound control to display the entire collection
Display individual guitars: this page will display a single guitar entry. It will also have buttons to "start over" and "display next guitar" and return to introduction page
AddGuitar: will allow the user to enter information for a new guitar to be added to the collection.
IMPLEMENTATION REQUIREMENTS:
Due: . April 13th by midnight Please email to "cs477@cs.odu.edu". Your submission should include an XML file and the necessary "bin" directories to run your program without the necessity to recompile.