Assignment#3 Checkpoint

05 May 2022

1.Show what each page will look like. The pages do not have to be “functional” but the design should clear. Here is an example PPT prototype

Screencast here

2.Describe your design for your site’s shopping cart. That is, will it be a separate page that the user can view and edit, or will it be integrated into the product pages? If so, describe in detail how this will work on your site. Provide several examples of using the cart.

The cart functionality of the cart will be used in the invoice being able to add or remove itmes.

3.Explain specifically how you will use sessions to manage your shopping cart. In particular, what shopping cart data will be stored in the session, what data format will be used (NOT what data type, but the format like with the data format used for your registration data). Use code examples showing what data structures (such as arrays and their objects) you will use to manage the shopping cart data and how they will be used in a session.

The items will be stored in the session within an array with each item stored in their respective numerical position. When an item is added to the session the quantity of the item in the session goes up by yhe amount the user puts in.

4.How will you avoid access to your application when the user has not logged in or registered? What are the particular security concerns you must address?

as of Assigmnet 2 I used the folling to prevent users to go to the invoice page without being logged in: if (params.has(‘name’) == false) { alert(‘Please Login or Register!’); location.href = ‘./products_display.html’; window.stop;

5.Upon a successful login, how do you provide personalization in your UI? Explain how you did or will do this (paste code if necessary)

On the page within the HTML there will be a message that says “Welcome usersName” that shows personalization for users logging in to the site.

6.If you are working with partners, how will you split up the work in your team so that you are working in parallel as effectively as possible? That is, who is doing what and when?

Working by myself.

7.How are you approaching Assignment 3 differently than Assignment 2?

My approach to assignment 3 is the same as in assigmnet 2 but I started earlier to give my self more time to complete assigmnet 3