Click to see Chloe Cheng and Caixin Zhang’s Checkpoint Assignment #3 Screencast
Click to see Assignment 3 prototype
Checkpoint question : The first page is our index page, which is the ‘Welcome to Chloe and Caixin stationery store’. There are some brief introductions about the store and click on the image to enter the product page. On the product page, there is a navbar, showing the link to enter the home page, product page (multiple page), login page, register page, and shopping cart page, which can direct you to each page. The product page also shows the items for you to shop, quantity selection for each item. Click the proceed to checkout then lead you to the login page or you can click on the login link on navbar to go to the login page. On the login page, login your account then it will lead you to the shopping cart to review your selected items or directly go to invoice to checkout your items. If you don’t have an account, register an account then will automatically log you to the shopping cart or invoice. You can go back to log in page if you already have an account. The shopping cart is able to add or minus items, and also allow you to delete items. After reviewing, it directs you to the invoice page to check out after reviewing on the shopping cart page. In the invoice page, it shows the quantities of items that you selected and the total amount. After check out, lead to a new page of thank you for your order. Then the invoice will email to the user then it will destroy the user session and go back to the index page.
Cookies are stored on the browser and session store on the server, we will not store password or username in cookies, we stored in JSON data file using stringtify instead. Shopping carts are transient data so when the user selects quantities, we are going to store the quantities into the session so later on we don’t need to worry about it. When the user is login, we send them a cookie to the username, maybe set like an expiration time, and the username needs to log back in when they are inactive for a certain amount of time. We only allow users to view the display and not process them to login if they are not registered with us, we will have a register button for users to sign up and view their shopping cart, we don’t have a shopping cart for now, but will add it later on. The particular security concerns would be to encrypt the password on the JSON file, and destroy the cookies and session for a maximum time so other users will not interfere with other users. upon success login, we will say the username on the invoice, thank you for their purchasing, and also sent them a email confirmation for their invoice
I am working with Caixin Zhang on assignment 3. We split 50% of the work with each other. I will be doing the navigation bar, shopping cart design, link shopping cart to invoice, and Caixin will be doing the cookie and session, and multiple page design. We will work on the products multiple pages together and do the rest of the work together. We will work on the assignment together in our free time because we are neighbors. We will also be testing, debugging, and solving problems together.
I started assignment 3 earlier than assignment 2, in which I spent more time working on assignment 3 in advance. I debug and solve all the problems in assignment 2 first, then I continue to work on assignment 3. Besides, I pay more attention to details when writing code. I also read the instructions for assignment 3 in 5 times.