1 Project 4: XML Product Browser (Not Graded). Objectives This project is an exercise of the following knowledge and skills: Accessing and displaying.

Slides:



Advertisements
Similar presentations
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Advertisements

1 Project 6: Tic Tac Toe. 2 Tic Tac Toe A Challange Project 10 Points extra credit on final grade OK to work in groups of 2 or 3.
11 ASP.NET Controls II Beginning ASP.NET 4.0 in C# 2010 Chapter 6.
30-Jun-15 Blackboard. Web sites All substantive information about this course is on the course website, 2007/index.html.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
1 Deploying a Web Application. 2 Virtual Directories Web servers map URLs to directories in their file systems. Called virtual directories. Normally one.
1 Project 6: Cats in Tree. 2 Project 3: Cats in Tree In this project you will Create a class definition for a Cat class. Populate a BST with Cat information.
1 Project 7: Huffman Code. 2 Extend the most recent version of the Huffman Code program to include decode information in the binary output file and use.
JavaScript & jQuery the missing manual Chapter 11
 First time student activates their google account, they need to go to an internet browser and go to  drive.google.com/a/students.macon.k12.nc.usdrive.google.com/a/students.macon.k12.nc.us.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
1 Project 7: My Photo Album Graded Project. 2 Assignment Write a web app to permit users to upload and view photos. User can keep up to five photos on.
Uploading Image Files. Introduction – Click on Control Panel Button Typically, most instructors will post the majority of their images under the “Course.
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Linking Images to Other Areas within a Blackboard Course Darek Sady.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Open Internet Explorer Go to: my.ccsd.net Type YOUR InterAct username and password. Then Submit Query.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Web Technologies COMP6115 Session 4: Adding a Database to a Web Site Dr. Paul Walcott Department of Computer Science, Mathematics and Physics University.
1 Working with MS SQL Server Textbook Chapter 14.
1 Project 4: Vehicle Inventory. 2 Write a program to read a text file containing information about vehicles and output the information First in the order.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Microsite Training. Today: Presentation (slides will be sent to the group) Examples with LRADGs microsite Troubleshooting Questions.
1 Project 3: Chomp (Not graded). 2 Project 3 The game of Chomp was described in a Math Trek column in Science News:
Dynamic Dropdown Lists 1. Objectives You will be able to Use Dropdown Lists to solicit multiple choice user input in an ASPX web page. Populate a Dropdown.
1 Project 5: New Venue. 2 New Venue Based on the posted New Venue scenario 077_Ticket_Booth_Scenarios.pdf.
1 Project 7: Northwind Traders Order Entry. 2 Northwind Order Entry Extend the Select Customer program from Project 6 to permit the user to enter orders.
Go to your school’s web locker site Your user name is the first letter of your first name, the first four letters of.
11 Project 2 Temperature Conversion (Not graded).
11 Project 2 Towers of Hanoi. 22 Towers of Hanoi is a well known puzzle that can be very difficult to solve manually but can be programmed very easily.
1 Project 5: Printing Address Labels. 2 Assignment Write a Windows forms program to display and print a set of address labels. Input from a csv file.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
1 Project 3 The Kumquat Society Conference. 2 Conference Registration In this project you will write a program to handle a conference registration. The.
January 2006Colby College ITS Setting Up Course Pages.
Project 3: Ticket Printer
1-Feb-16 Blackboard. Web sites All substantive information about this course is on the course website,
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
1 Project 3 String Methods. Project 3: String Methods Write a program to do the following string manipulations: Prompt the user to enter a phrase and.
1 Project 1: Tickets. 2 Class Ticket Write a definition for class Ticket. A Ticket object corresponds to a physical ticket for a stage show. Attributes.
11 Getting Started with ASP.NET Beginning ASP.NET in C# and VB Chapters 1 and 2.
1 Project 2: Sorting Cats. Write a C++ console application to read a text file containing information about cats and output the information to the screen.
1 Project 4 Address Lookup. Project 4 Write an ASP.NET app that permits users to retrieve addresses from a potentially large list of addresses. There.
1 Project 3: Farey Sequences. 2 Farey Sequences Further details about Farey sequences, and more examples, can be found in the Wikipedia article:
1111 Master Pages Beginning ASP.NET in C# and VB Chapter 6.
Navigating the Course 1. Course Materials 2 Software: Notepad (or TextEdit on a Mac) – comes with operating system Internet Explorer Web Browser FireFox.
11 Project 2 Temperature Conversion. 22 Project 2: Temperature Conversion Write an ASP.NET Web Forms app to convert temperatures from Fahrenheit to Celsius.
1 Project 5: Leap Years. 222 Leap Years Write a program that reads an integer value from the user representing a year and determines if the year is a.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
1 Project 4: Palindrome Detector. 2 Assignment Write a C++ program that reads a line of text from the keyboard and reports to the user whether the text.
1 Project 4: Venue Sort. 2 This project is an exercise in Using C++ strings. Operator overloading. Text File Input.
1 Project 5 Eyeglass Rx User Control. Eyeglass Rx Earlier in the semester we looked at an eyeglass prescription as an example of an HTML table. 2.
1 Using jQuery JavaScript & jQuery the missing manual (Second Edition)
1 Project 15: Animals Using Derived Classes and Inheritance.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
1 Project 6: New Venue. 2 New Venue Based on the posted New Venue scenario
1 Project 8: Tic Tac Toe. 2 Assignment Write an HTML and JavaScript page that pemits users to play Tic Tac Toe. Both players use a single browser. Alternating.
1 Project 7: Ticket_Booth_0 Using XML. 2 Ticket Booth 0 Base Level 0 of the real Ticket Booth program. Gets information for a single venue from an XML.
1 Project 12: Cars from File. This is an extension of Project 11, Car Class You may use the posted solution for Project 11 as a starting point for this.
1 Project 6: Northwind Orders. 2 The Northwind Traders Database The Northwind Traders database was created by Microsoft for training and demonstration.
NetApp Online Ordering User Tutorial
Multi-host Internet Access Portal (MIAP) Enhancement Guide
Quick Reference (Edge)
Presentation transcript:

1 Project 4: XML Product Browser (Not Graded)

Objectives This project is an exercise of the following knowledge and skills: Accessing and displaying information from an XML file. Using the generic List class. Dynamically updating the options in DropDownLists based on user selections in previous lists. 2

3 Eyewear Product Browser Write a web application that permits users to browse the contents of an XML file describing eyewear products.

4 The Eyewear Products Database There are several hundred products in the file. Each product element has the same form. Products are divided into categories. Some categories are further divided into subcategories.

5 Product Information We have the following information about each product: ID Category Subcategory Description Retail Price The XML file is available in the Downloads area of the class web site:

6 Sample Data

7 Categories without Subcategories Products in categories that do not have subcategories have a subcategory value of “N/A” Example: Eyeglass Frames N/A Brookes Brothers

8 The Product Browser The Product Browser should permit the user to identify a product by selecting 1. The Category. 2. The Subcategory, if applicable 3. The Description All selections are from dropdown lists.

9 Dropdown Lists The Category dropdown list never changes. The Subcategory dropdown list shows only subcategories that are applicable to the selected category. Disappears if not applicable. The Product dropdown list shows product descriptions for products in the selected category and subcategory (if applicable.)

10 Sample Run Each time the user selects a product, the browser displays its ID, Description, and Retail Price in textboxes.

11 Demonstration A working implementation is available on the Internet. Your app should look similar and demonstrate essentially identical behavior.

12 Implementation Specifications Define a class, Product, to hold all information about a product. On initial Page_Load, process the XML file and create a list of Product objects. Preserve the list as an Application variable. Use the list to dynamically update the page. Use the generic List class List

13 List If you are not familar with C# generics see: or Textbook, pages Also see the Microsoft documentation Search for “generics” in Visual Studio Help Search for “List generic class” in Visual Studio Help You will not need to define any new generic classes. Just use the generic List class provided in the.NET Framework.

14 The Dropdown Lists Create new Item collections for the Subcategory and Product DropDown lists as needed. Provide handlers for SelectedIndexChanged event for each DropDown list. Category change – Populate new Subcategory DropDown list If no subcategories, populate new Product DropDown List. Subcategory change – Populate new Product DropDown list.

15 Product Selection Change On SelectedIndexChanged for the Product DropDown list, fill in the textboxes with information for the selected product. Clear textboxes whenever there is not a selected product. When Category or subcategory changes.

16 Submission Zip your website folder and submit the zipped file using Blackboard Assignments. Deploy your application to your directory on the scorpius web site. OK to use a different web site if you have access to one. Put the URL for your page into the Blackboard submission comments box. Example: Substutite your user ID for wpusr40. I should be able to view your page by copying and pasting the link

17 Ground Rules You may work with one or more other students. OK to work alone if you prefer. If you do work in a group All members are expected to contribute. All members should understand the program in detail. Each member should submit the app. Each member should deploy the app to their own website. Do not share your work with other students. Before or after submitting the project. OK to discuss the project. Do not copy any other student’s work. Don’t look at anyone else’s program.

Ground Rules Except for code posted on the class web site Do not copy code from the Internet or any other source. Write your own code.

19 Submission Project is due by 11:59 PM, Wednesday, June 13. Deliverables: Website Folder (zipped) Zip the entire website folder and submit a single file. Use the Windows "Send to Compressed Folder" command. DO NOT use RAR If you work with a group, each member of the group should deploy the app to their own website and do their own submission. Include own URL in the Blackboard submission comment.