Question
Lab submission details: As part of the submission for this Lab, you will create your own Web application to store and use session variables in
Lab submission details: As part of the submission for this Lab, you will create your own Web application to store and use session variables in a simple e-Commerce store. Specifically, you will create an e-Commerce application using PHP and HTML that allows a user to login to a website, select several products for purchase and then place an order for those items selected. The type of products and price you use for the store are up to you. A successful submission includes an index.php that acts as start of navigation for your website. A wellexecuted e-Commerce application allows the user to navigate from page to page by clicking on links or buttons on the page; requiring the user to specifically load individual pages by name or refresh/reload pages to evince required capabilities will result in deduction of points. A robust website carries the information that it needs from one page to the next -- for instance, a session timeout should time out the session on any page of the website; incomplete session timeout functionality will result in deduction of points. 24 The following guidelines should be used in your design and development: 1. The Login form should consist of fields for username, email address and password. 2. After login, a welcome message should appear providing a simple order form with at least 10 products of your choice. Be sure to include an image of the product and price. 3. Users can shop your store for up to 30 minutes before the session will expire. 4. Once all products are selected, the user should be able to checkout and pay for their purchases. 5. The payment page should display the username, email address and the products and total price of the purchases. 6. A Purchase button should be available to indicate the product was purchases and should generate a Thank you message of your choice. 7. On the Thank you message page, an option for logging out and essentially unsetting the stored sessions variables should be available and implemented. 8. Note all pages should have session timeout functionality. Feel free to add additional HTML and PHP elements to enhance your web application. Create screen captures showing the successful running of your application. For your deliverables, you should submit a zip file containing your word document (or PDF file) with screen shots of the application running successfully along with your PHP web application file. Include your full name, class number and section and date in the document. Grading Rubric: Attribute Meets Does not meet PHP App 8 points The Login form includes fields for username, email address and password. (1 points) After login, a welcome message appears providing a simple order form with at least 10 products of your choice. The form Includes an image of the product and price. (1 points) Sessions expire after 30 minutes. (1 point) Session variables are used for all Web Pages (1 point) Once all products are selected, the user is able to checkout and pay for their purchases. (1 point) 0 points The Login form does not include fields for username, email address and password. After login, a welcome message does not appears providing a simple order form with at least 10 products of your choice. The form does not include an image of the product and price. Sessions do not expire after 30 minutes. Session variables are not used for all Web pages. Once all products are selected, the user is not able to checkout and pay for their purchases. The payment page does not display the username, email address or the products and total price of the purchases. 25 The payment page displays the username, email address and the products and total price of the purchases. (1 point) A Purchase button indicates the product was purchased and generates a Thank you message of your choice. (1 point) On the Thank you message page, an option for logging out and essentially unsetting the stored sessions variables is implemented. (1 point) A Purchase button does not indicate the product was purchased or generate a Thank you message of your choice. On the Thank you message page, an option for logging out and essentially unsetting the stored sessions variables is not implemented. Documentation and submission 2 points Submits a zip file containing your word document and all web files. (1 point) Includes labeled, screen captures of the Virtual Machine running the Web/php page on your host machine for each command used. Screen captures are described. (0.5 points) Title page includes your full name, class number and section and date. Document is neat, well-organized and free from spelling and grammar errors. (0.5 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started