Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CREATE AN HTML PAGE, PHP, JQUERY, JAVASCRIPT AND SQL IN THIS ASSIGNMENT, YOU ARE TO DEVELOP A WEB APPLICATION FOR AN ONLINE STORE. THE TYPE

CREATE AN HTML PAGE, PHP, JQUERY, JAVASCRIPT AND SQL

IN THIS ASSIGNMENT, YOU ARE TO DEVELOP A WEB APPLICATION FOR AN ONLINE STORE. THE TYPE OF STORE THAT YOU DESIGN AND ITS INVENTORY IS LEFT TO YOUR DISCRETION.

1.HTML Static Content - Web Form

The front end must collect all of the information needed to mail out the purchased items to the customer. (4 marks)

At least one product should be available for purchase. (1 mark)

BONUS: Extra marks are available if you stock more than one type of product. The applications business logic must handle the products correctly. (3 marks)

2.JavaScript - Form Validation

All JavaScript code must be located in an external script file. (1 mark)

All user inputs must be validated. (4 marks)

If any errors exist, display a compound message that includes all of the error messages. Do not use a JavaScript popup box for this purpose. (2 marks)

If any errors exist, give focus to one of the offending form controls. (1 mark)

3.jQuery

Write and use at least one jQuery function in your application. You are free to write your own function or call a pre-written function. (2 marks)

4.PHP

Write and use at least one PHP function in your application. You are free to write your own function or call a pre-written function. (1 mark)

All user inputs must be validated again. (4 marks)

Generate a receipt to give to the customer, including all of the shipping documentation. (3 marks)

Calculate and include sales tax for each province/territory in Canada. (2 marks)

As part of your receipt, calculate and include the shipping cost. Your receipt must also state the estimated delivery date. (2 marks)

Add $3.00 if the subtotal is between $0.01 and $25.00, inclusive; delivery time 1 day

Add $4.00 if the subtotal is between $25.01 and $50.00, inclusive; delivery time 1 day

Add $5.00 if the subtotal is between $50.01 and $75.00, inclusive; delivery time 3 days

Add $6.00 if the subtotal is greater than $75.00; delivery time 4 days

Within your business logic, you must create and use a PHP array. (1 mark)

5.Programming Style and Standards (1 mark)

It is a good idea to practice conforming to a set of programming standards. Refer to the posted summary of the Programming Standards used by the CP/CPA programs.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

c. Equal increases in aggregate demand and aggregate supply.

Answered: 1 week ago