Build a small Web site for the guitar shop

Assignment Help PHP Web Programming
Reference no: EM132460720

NIT1204 Web Application and Server Management Assignment - Victoria University, Australia

Assessment Overview - You are to develop from the beginning a web site for the guitar shop example of the unit. This web site relies on the guitar shop database of the text book. It provides the user with pages allowing them to work enter certain information for use with this database.

You will design and develop your web site with NetBeans using PHP, HTML and Cascading Style Sheets.

Description - The purpose of this assignment is for you to build a small Web site for the guitar shop example used in this unit. Your site provides forms for working with information from the database. The guitar shop data comes from the database, my_guitar_shop2, that was installed in Lab 4. You may need to re-run the script provided in that lab to carry out the assignment if it is not available on your computer. The site allows two options to the user when interacting with your site, and you must program both options. The user can use the site to either:

1. enter data for a new system/database administrator who can use the database, or

2. enter data about a new order, for ordering products from the guitar shop

Your site needs to support both options (both functions), but the user chooses whether to take option 1 next or option 2 next. In reality, you would not develop a system exactly as described in this assignment (you would not have a user who would add an administrator as well as be a customer entering order details), but are developing it for the purposes of this assignment.

This assignment involves creation of PHP files corresponding to 4 pages of your web site and all are connected to an external CSS file. You will need to determine how your site will be designed and then you will develop the pages using PHP, HTML and CSS. The pages and CSS file you will develop are explained below.

Page for selecting entering administrator details or entering order

The first page of your site the user sees will be as follows (we will ignore use of a home page in this assignment). The user will see a heading conveying what this page is about. The page will allow the user to either select the option of entering in the details of a new system or database administrator (we will refer to them as an "administrator"), or alternatively, entering details about a new order of instruments from the shop. The user cannot select both options as the same time; the user must select either to add a new administrator's details or to enter details about a new order.

Selecting an option is based on an HTML form, so the user is presented with a brief form presenting both these options. The method of selecting an option requires a form and not some other way that excludes a form, otherwise marks cannot be awarded for this criterion.

Before an option is selected, there must be a paragraph above the form explaining to the user about selecting one of the two options.

Page for administrator entry

If the user selects the option of adding a new administrator, then the next page of your site the user sees will be the page for administrator entry. Include a heading to convey what this page is about. The user will be presented with a form that contains fields for the following details of the administrator in this page:

first name

last name

email address

password

Your script must verify that what was entered into email address text box is indeed in correct email address format, otherwise must give an error message and ask user to re-enter correct email address.

Once all details of the administrator have been correctly entered and submitted, a brand new feedback page is shown in the browser to replace the page for administrator entry. This feedback page displays the following text in blue colour to the user, where the actual administrator's details that the user enters are substituted for the name and email address above. Your message should look exactly as it does above with the same formatting.

Page for order details

This page is similar to the page for administrator entry in that it also contains a form. Include a heading to convey what this page is about. However, in this page the following details are entered by the customer:

1. pull-down menu of customers currently in database

2. total amount of order in dollars

3. a particular credit card from a set of credit cards (Mastercard, etc.)

4. credit card number

5. expiry date, including both month and year

The user uses the pull-down menu (1. above) of customers in database to select who they are so that their order details can be added to the database.

The credit card number entered is verified that it is 16 digits in length. If this is not the case, a message is provided to the user to explain what the problem is and that they need to re-enter the card number.

The user enters the total of the order (2. above), but this data is not inserted into the orders table. The total amount is used to carry out the following two activities.

Determine the amount for shipping the order. The amount for shipping is worked out using the following information:

Order total

Amount for shipping

$0 - $199

$5

$200 - $399

$10

$400 - $599

$15

$600 - $799

$20

Calculates the amount of tax. The amount of tax is calculated as 10% of the total order. After this amount is calculated, it is inserted into the table.

The script will use the above details to add a brand new row into the orders table for this new order.

When the form is submitted, the script determines current time and date and adds them to the orderDate column in same format as dates and times already stored in the table. To determine the date for shipping the order to the customer, the script adds 5 days to the date of the order (the time of shipping can be treated as the same as the time of the order). After the date and time of shipping is determined, it is inserted into the orders table.

When the form is submitted, based on whom the customer selected from the pull-down menu:

- the script retrieves their customer ID from the customers table and inserts that customer ID into the orders table for the new row

- using the customer ID, the script looks up this customer's shipping and billing addresses from customers table and inserts the IDs of both of these addresses into the new row

Once all details have been correctly entered and submitted, a brand new feedback page is shown in the browser. This feedback page displays an HTML table to verify the details entered and contains the following columns:

- Customer name

- Date of order (without showing the time of order)

- Date for shipping the order (without showing the time of shipping)

- The amount for shipping the order

- The amount of tax on the order

- The address to which the order will be shipped

Ensure that the table has headings to convey what the columns contain.

Other issues

There must be links from both feedback pages back to the first page of the site (the page for selecting entry of administrator details or entering an order).

Ensure that file contents are laid out properly and neatly and that all code is indented consistently and properly.

HTML that you generate must comply with the current standards in using the HTML language. As just one example only, do not use deprecated elements.

Attachment:- Web Application and Server Management Assignment File.rar

Reference no: EM132460720

Questions Cloud

NIT2113 Cloud Application Development Assignment : NIT2113 Cloud Application Development Assignment Help and Solution - Victoria University, Australia. Sales Force Assignment Project - Nail & Beauty Supply
What are the first step in preparing a proposal is : Carol approaches a co-worker, shaking her head as she does so. With a frown on her face, she angrily asks, "Did you finish the report yet?"
How to handle objections of potential customers : How to handle objections of potential customers?How could a salesperson overcome that objection or answer the query or concern effectively for the consumer?
Create messaging and materials and pricing for product : Create "Messaging & Materials" and "Pricing" for the product,roprietary mini solar panels on the temples perform constant recharging, allowing you
Build a small Web site for the guitar shop : The purpose of this assignment is to build a small Web site for the guitar shop example used in this unit. This assignment involves creation of PHP files
Find the continuum form of the dzyaloshinskii-moriya : Find the continuum form of the Dzyaloshinskii-Moriya - Under a magnetic field B applied along the z direction, find the paramagnetic susceptibility Xz(T)
Adm public budgeting course : Select a current issue for which you can find the background material become familiar with the issue and build a budget request that provides
What is the 2018 operating cash flow-square hammer corp : Square Hammer Corp. shows the following information on its 2018 income statement: Sales = $394,000; Costs = $300,000; Other expenses
Determine what is the expected return of stock? s : What are the expected returns of each of the four individual assets and the three portfolios if the current SML is plotted with an intercept of 4.0?%

Reviews

Write a Review

PHP Web Programming Questions & Answers

  Random integral numbers based on normal distribution

Prepare a system to generate random integral numbers based on normal distribution. Study Data Generator's structure and extend number generation type to activate normal distribution.

  Shopping cart program for web applications class

Shopping Cart program for web applications class. Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for all items.

  Create a web site for an apple farm

Create a web site for an apple farm. Create an HTML5 form allowing visitors to create an account with the site. Account details are to be stored in your MySQL database. Information should be stored in a secure way.

  Develop a dynamic website open university

Develop a dynamic website Open University

  Sample website project

This website consists of three sections: a narrative, a storyboard, and a business Website.

  Online banking application

Designing and developing a web applications The company you are working has secured a contract with a local banking group to develop an ONLINE BANKING APPLICATION using PHP and MySQL.

  Design a dynamic database

Design a dynamic database using Mangodb, html , and php.

  Show the accessibility and usability of website

The webpage must have several menus about country Azerbaijan such as "About Azerbaijan" "History" "Geography" "Landscape" and "Accessibility" menu.

  Implement a web application

Implement a web application called CS320Starter, which is similar to the crowd funding platform Kickstarter where people raise funds for their projects.

  Prepare an ajax enabled web form

Prepare an AJAX enabled web form utilising a ListView control that will allow logged-in staff to list, edit, delete, insert magazine details for magazines from a selected magazine category.

  Create a very simple order system as a web application

Create a very simple Order System as a web application.

  Which of the following jsp expressions is valid

A JSP expression can contain any Java expression that evaluates to a String object, Java object, primitive type, primitive type or Java object

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd