Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask E-Commerce Expert

Assignment

Foundation and Pathways

Creating Web Applications

Purpose of Assignment:

An individual assignment, designed to familiarise in following the project life cycle in developing a website. It also provides an opportunity to practice again techniques and skills involved in designing webpages utilising validated HTML, and validated CSS using a standard text editor. Moreover, these webpages will contain input forms that will use Javascript to validate user data input before the form is submitted to the server for processing.

In this individual assignment you will develop a new Web form or enhance the Web form you developed in Assignment 1 by using PHP and storing server-side information in a MySQL database. This information will have been collected in your HTML Forms. It will involve the creation of simple MySQL tables to store, update and retrieve information from a Web site using MySQL commands.

Submission as a single zip file, via the online submission system (Blackboard) http://blackboard.swin.edu.au/

Requirements and Specifications

The assignment requires you to develop a test website for a "Help Desk". The director of the company is interested in developing a test website that allows the user to register a unique job number when first registering a technical problem. You are required to develop the front end (client) of the website. The director has asked a student, Mr Blog, who is taking up Web programming to develop the back end (server) of the website that will process the data input from the front end (client).

Task 1: Website Design

After several discussions with the director, it was agreed that 2 webpages will be developed. These are the Home Page and the Registration Page.

To keep the test website simple, the structure adopted is linear. Figure 2 illustrates the site map of the website.

The register.htm page:

1. Client side validation using Javascript.

The testreg.php page:

1. Redirects to the index page if registration is successful or outputs to successful registration feedback page with a link back to the index page.

2. Outputs an error page if server side validation fails. The outputted error page contains a link back to register.htm and index.html page.

Graphic Design

As part of the graphic design, it was agreed with the director that the main wireframe design for both webpages shown in Figure 3 be adopted.

These two structure elements will be styled by the CSS contained in common.css. You are free to design and add other structure elements to complete the index and the registration page.

Task 2: Construction and Content Development

Section One: HTML 5 Web Page

The two webpages must be developed using HTML5 to describe the content and structure. All pages must not contain any deprecated elements/attributes. The following HTML must be used in the assignment

• Index Page

o Anchor

• Registration page

o Form
o Input(Text and Submit)
o Select

Other elements can be used if deemed necessary and appropriate for the content.

In addition, the following describes the required contents in each webpage.

o Index page
o Show your details similar to the sample in Figure 4 inside the main section structure.

o Clicking on the email address should launch an email client (if installed)
o Display a link to allow users to proceed to the registration page

o Registration page
o Show a simple form containing
o Job number - text field
o First name - text field
o Last name - text field
o Mobile Phone - text field
o Email address - text field
o Office - text field
o Desk - text field
o Computer - text field
o Problem - select field with options of "password", "new user", "delete user", "lost file", "new computer", "new software installation" and "virus checking".
o Set the method to POST and action to
o http://mercury.ict.swin.edu.au/vcaravias/COS10020/regtest.php

Section Two: CSS files

Two CSS files are to be created. One is used to style both the HTML pages, mainly to display a background image within the main section and style the footer. The second CSS will style the form itself. Everyone is encouraged to be creative in their design. Any CSS property groups can be used if deemed necessary and appropriate for the presentation.

In addition, implementing special features are highly recommended. These are

o Tooltip for the job number that describes that a 5-digit number is expected. The tooltip is displayed wherever the mouse hovers over the job number input field.

o Pop up window for the terms and conditions of logging a technical problem with the help desk.

Section Three: Javascript File

A Javascript file must be created for the registration page to validate the input data in the form prior to submitting it to the server for processing. The Javascript must

o Check that the job number is a 5 digit number before allowing submission
o Check that the mobile number is a 10 digit number before allowing submission
o Check that a valid email address has been entered
o Check that there are no blank input text field value
o Check that a selection is made for the selection input
o Show an alert box with a message if there is a problem
o Return true (if all input are okay) or false

Enhancements using JavaScript

You should complete the above requirements before attempting enhancements using Javascript. Each enhancement must be listed on a page called enhancements2.html. You will need to add a link in in the index.html page to the enhancements page. The entries on this page should:

• briefly describe the interaction required to trigger the event and what a programmer has to do to implement the feature.
• provide a hyperlink to the page where the enhancement is implemented in your website.
• reference any 3rd party contribution to the enhancement

The JavaScript enhancements themselves should be in a separate enhancements.js file. Make sure there are adequate comments to explain the enhancement (including its source if applicable). Examples of JavaScript and other enhancements you might make include (but are not limited to):

• Use the JavaScript methods querySelector() that take a CSS selector as an argument to manipulate the web page in response to use action.

• Use regular expression patterns in JavaScript to validate the data.
• Have the Menu display reflect the current page being viewed.

Any extensions that are not listed and linked on the page enhancements2.html will not be assessed.

Section Four: Use PHP to reuse common elements in your Web site

PHP provides us with more techniques to modularise and reuse our web application code. You need to refactor your web pages as follows:

- Your web site contains common elements such a menu, header and footer. Re-write your html pages so that static HTML elements common to your pages are sourced from a single PHP script.

Section Five: Create database table

You should create the following table:

Users Table (users)

This table will record the data the user enters into the form in register.html. The format of the database fields should match appropriate validation rules. If no rule exists for a particular field, choose an appropriate format.

The email address of the user will be used as the primary key for this table. Make sure duplicate email addresses cannot be entered in the table.

Section Six: Registering users (register.html and regtest.php)

In this section you will adapt the register.html Web page. If you have not already done, create a submit button Web page. On clicking this button user information will be sent to the server where it is processed by regtest.php and stored in the users table. If a record with the email already exists in the table, an error message will be sent back to the user.

Data validation: the data validation rules that you applied at the client using HTML5 and JavaScript should also be applied at the server. Data validated should include all input fields. Remember: make sure you have the novalidate="novalidate" form attribute set.

Demonstration Procedure:

1. Make sure you attend your allocated lab class. You will demonstrate your assignment to the teacher in your allocated Lab class in Week 13 (12-16 September 2016). You must attend this class to receive a mark for this assignment. If you cannot attend your allocated lab class time due to illness you must provide a copy of the medical certificate to the Unit Convenor.

2. Before your demonstration starts:

a. Make sure you web site is running on Mercury. (Your teacher will check the URL). All demonstrations will be done on Firefox.

b. Load Web Developer in Firefox. Validate all your new/altered web pages for both HTML5 and CSS and the results display in separate browser windows.

c. Load MySQL Monitor command line client or the phpMyAdmin web interface so you can demonstrate the changes to your table as your demonstration progresses.

3. As you demonstrate your Web site your teacher will ask you to explain how you have implemented various aspects of it.

4. If there is time you may have an opportunity to demonstrate and explain any additional features. If not, your tutor will mark this from your Blackboard submission. After the demonstration tutorial your teacher will mark your source code and documentation.

5. Students must include a Full URL of their website, phpmyadmin URL and username and password to access your database in the submission for Assignment.

6. Create a document or separate page for references when using outsourced images or text.

E-Commerce, Computer Science

  • Category:- E-Commerce
  • Reference No.:- M92090384

Have any Question?


Related Questions in E-Commerce

Assignment - creating dynamic websites and web-based

Assignment - CREATING DYNAMIC WEBSITES AND WEB-BASED APPLICATIONS - AN OVERVIEW This assignment is an overview of the concepts, technologies and design techniques required to build dynamic websites and web-based applicat ...

Overviewassignment 2 asked you to build the front end of

Overview Assignment 2 asked you to build the front end of the assignment, now the client wants you to build the full eCommerce website to the point that orders can be made and stored in a spreadsheet. Requirements 1. Web ...

Create testcase for given project first use piki design to

Create testcase for given project, first use piki design to do test case Want to do it like testcase one file and you can also get right information from saeed testcases Want to piki design all of it and informat like te ...

Assignment requirementsyour web site proposal and

Assignment Requirements Your web site proposal and presentation (Assignment 1) was accepted, subject to any feedback you may have received. You company has been asked to develop website you suggested and build the featur ...

Mobile web application development assignment - android

Mobile Web Application Development Assignment - Android Apps Development Purpose of the assessment - Students are required to design and develop four different Apps. Apply Java programming concepts, models/architectures ...

Research and discuss html 5what are its main featureswhat

Research and discuss HTML 5. What are its main features? What resources are available to support it? Put it in your own words please.

Secure electronic commerce assignment -part a -based on

Secure Electronic Commerce Assignment - Part A - Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales. Please create a fold ...

Html - css assignments assignment 1 - internet programming

HTML - CSS Assignments Assignment 1 - Internet Programming   My grandfather, like many men who lived in rural America, owned a large machine shed where he stored tools, farm equipment, vehicles, lumber, and wonderful gad ...

Purpose of the assessment with ulo mapping students are

Purpose of the assessment (with ULO Mapping) Students are required to design and develop four different Apps. Students will be able to: b. Apply Java programming concepts, models/architectures and patterns to Android app ...

Mobile applications assignment - an ios recipe application

Mobile Applications Assignment - An iOS Recipe Application - Introduction - In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As