Course Title: Integrate database with a website

Part B: Course Detail

Teaching Period: Term1 2020

Course Code: COSC7372C

Course Title: Integrate database with a website

School: 650T Vocational Business Education

Campus: City Campus

Program: C5395 - Diploma of Information Technology

Course Contact: Val Christou

Course Contact Phone: +61 3 9925 5076

Course Contact Email: val.christou@rmit.edu.au


Name and Contact Details of All Other Relevant Staff

course leader: Sarah McKinnon

emailsarah.mackinnon@rmit.edu.au

phone:+61 03 99255518 

Nominal Hours: 25

Regardless of the mode of delivery, represent a guide to the relative teaching time and student effort required to successfully achieve a particular competency/module. This may include not only scheduled classes or workplace visits but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.

Pre-requisites and Co-requisites

None

Course Description

This unit describes the skills and knowledge required to ensure the database is integrated with a website.

It applies to individuals employed as web developers who are responsible for creating data-driven web applications.


National Codes, Titles, Elements and Performance Criteria

National Element Code & Title:

ICTDBS504 Integrate database with a website

Element:

1. Connect to the database

Performance Criteria:

1.1 Identify site data needs from technical requirements 1.2 Connect to database from web application using a web development language

Element:

2. Retrieve data from database and display on web pages

Performance Criteria:

2.1 Retrieve data using structured query language (SQL) 2.2 Display data in the most appropriate control 2.3 Format data so that it is displayed in the most effective way

Element:

3. Update the database data from user input

Performance Criteria:

3.1 Update existing data stored in the database with user-supplied input 3.2 Insert data in the database with user-supplied input 3.3 Delete data stored in the database  3.4 Include error checking and validation


Learning Outcomes



Details of Learning Activities

This may include self-paced and collaborative classroom activities such as:

 

Class exercises

Challenges

Problem solving

Project work

Quizzes

 

We expect you to participate and contribute in all scheduled learning activities as each week builds on the next.


Teaching Schedule

Week

Week Beginning

Topic

Learning Materials and Activities

Assessment Remarks

1

10th Feb 

Introduction to PHP and dynamic websites.

Servers and Clients

Reviewing HTML and CSS knowledge

Role of HTML, CSS and PHP in dynamic websites

Setting up accounts on RMIT server

HTML CSS refresh activity

Overview and discussion of the three assessments

2

17th Feb 

PHP syntax - variables, strings, arrays

Forms and HTTP requests

Creating basic PHP scripts using strings and variables and arrays

 

3

24th Feb 

HTTP request methods POST and GET.

Storing and retrieving data from arrays

Creating HTML forms and using HTTP request methods (POST & GET)

Arrays and loops

 

4

22nd March 

Making decisions - PHP conditionals (if & switch)

Simple user- defined functions

Creating conditional statements to determine what should be displayed

Include files

 

5

9th March

Database structure – tables and fields

Database servers

Assessment 1 activity - creating database tables (in class)

Assessment 1 submission

 

6

16th March

Introduction to Object-Oriented PHP

Connecting to a database

SQL – querying databases

Connecting to a database via a website using

object-oriented class, method and properties

Overview and discussion of assessment 2 project requirements

7

23rd March

SQL select queries

Methods and scripts to select and display data from a database.

Loops, HTML & CSS

Writing PHP scripts and class methods to select and display database records

Applying HTML and CSS to data display

 

8

30th March

SQL insert queries

HTML forms

SQL injection; cleansing form data and error control

Creating HTML forms and writing PHP scripts to insert data into a database

 

9

6th April

SQL queries

Updating data in a database

HTTP Requests

Writing scripts to modify data in database tables

HTTP Requests

 

Semester Break (Thursday 9th – Wednesday 15th April)

9

13th April

SQL queries

Updating data in a database

HTTP Requests

Writing scripts to modify data in database tables

HTTP Requests

 

10

20th April

SQL queries

Deleting data from a database

Writing scripts to delete data in database tables

 

 

11

27th April

User requirements testing - class activity

Project demonstrations

User requirements testing - class activity

Project demonstrations

Assessment 2

In class demonstration and testing

Canvas submission

12

4th May

SQL select queries

Methods and scripts to search, select and display data from a database.

Writing PHP scripts to search for and display database records

 

13

7th October

Security - Login and session control 

Writing scripts for administrator login

Exploring sessions

 

14

14th October

Login and sessions

User testing

Login and sessions

User testing activity

 

15

21st October

In class - Project Demonstrations

In class - Project Demonstrations

Assessment 3 submission

In class demonstration

Canvas submission

16

28th October

 Re-submit if required

 Re-submit if required

 


Learning Resources

Prescribed Texts


References


Other Resources

You will need the following for each class

  • Laptop with charger
  • USB or external hard drive for backup
  • Text editor such as Programmer's Notepad / Sublime


Overview of Assessment

In order to achieve competency in this unit, you must provide:

Performance Evidence

 Evidence of the ability to:

  • access database using a web development language
  • retrieve and display web-based data
  • update web-based data.

Knowledge Evidence

To complete the unit requirements safely and effectively, you must:

  • describe a database structure
  • outline internet technology as it relates to the use of databases
  • identify and apply programming control structures, including object-oriented programming and structured query language (SQL)
  • explain web programming concepts, including:
  • authentication and web security
  • hypertext transfer protocol (HTTP)
  • session management
  • defining the principles of stateless programming.

 Assessment Conditions

Assessment must be conducted in a safe environment where evidence gathered demonstrates consistent performance in conditions that are safe and replicate the workplace. Noise levels, production flow, interruptions and time variances must be typical of those experienced in the database field of work, and include access to:

  • equipment
  • industry software packages
  • the requirements documentation
  • a web server
  • a database
  • the web development environment
  • browsers.

You are advised that you are likely to be asked to personally demonstrate your assessment work to your teacher to ensure that the relevant competency standards are being met.

Feedback

Feedback will be provided throughout the semester in class and/or online discussions.  You are encouraged to ask and answer questions during class time and online sessions so that you can obtain feedback on your understanding of the concepts and issues being discussed. Finally, you can email or arrange an appointment with your teacher to gain more feedback on your progress.

You should take note of all feedback received and use this information to improve your learning outcomes and final performance in the course.       


Assessment Tasks

Please note the following two units are clustered and therefore co-delivered and co-assessed holistically

 

COSC7369C (ICTWEB501) - Build a dynamic website

COSC7372C (ICTDBS504) - Integrate database with a website

 

 Overview

 

You are required to read and analyse the technical specifications for a dynamic website; produce a design specifications document; and then build the dynamic website using object-oriented PHP, SQL and a MySQL database. This project has three assessment tasks

 

Assessment 1

 

This assessment task is part 1 of the website project 

 

The following tasks need to be completed:

  • Read and analyse the technical specifications for a dynamic website
  • Write a design specifications document explaining the purpose and requirements of the website       (including functional and data storage requirements)   
  • Create the required database on the RMIT SQL database server 

 

Assessment 2

 

This assessment task is part 2 of the website project 

 

Build the administrator functions for the dynamic website using object-oriented PHP, SQL and a MySQL database. The following tasks need to be completed

  • Write a PHP script to connect to the database
  • Write PHP scripts to display, insert, update and delete database records
  • Test and document the website functionality against the technical requirements

Your dynamic website files and database must be hosted on the RMIT Jupiter and SQL servers.

You are required to demonstrate your project during class in week 11, and you may be asked questions about your code

 

All project files (SQL, PHP, CSS and images) and written documents (testing) are to be zipped and uploaded to Canvas by the end of week 11 

 

 

Assessment 3

This assessment task is part 3 of the website project 

You will need to re-read the technical requirements document and build additional functionality into the website you created in assessment 2.

Using object-oriented PHP, SQL queries and a MySQL database complete the following tasks:

  • Create a product display page for general users viewing the website
  • Create a search bar to allow users to search for specific information
  • Create a login for administrators to access the "back-end"
  • Test and document the website functionality against the technical requirements

 

You are required to demonstrate (and answer questions) about your completed project during class in week 15

After your demonstration, you need to submit a ZIP file of all website project files and testing documentation to Canvas by the end of week 15


Assessment Matrix

Elements/Performance Criteria

Assessment Details

1. Connect to the database

1.1 Identify site data needs from technical requirements

1.2 Connect to database from web application using a web development language

 

Assessment 1 - dynamic website project

Assessment 2 - dynamic website project

 

2. Retrieve data from database and display on web pages

2.1 Retrieve data using structured query language (SQL)

2.2 Display data in the most appropriate control

2.3 Format data so that it is displayed in the most effective way

Assessment 2 - dynamic website project

Assessment 3 - dynamic website project

 

3. Update database data from user input

3.1 Update existing data stored in the database with user-supplied input

3.2 Insert data in the database with user-supplied input

3.3 Delete data stored in the database

3.4 Include error checking and validation

Assessment 2 - dynamic website project

 

 

Performance Evidence

 

access database using a web development language

retrieve and display web-based data

update web-based data.

Assessment 2 - dynamic website project

Assessment 3 - dynamic website project

Knowledge Evidence

 

describe a database structure

outline internet technology as it relates to the use of databases

identify and apply programming control structures, including structured query language (SQL)

explain web programming concepts, including:

authentication and web security

hypertext transfer protocol (HTTP)

session management

defining the principles of stateless programming

 

Assessment 1 - dynamic website project Assessment 2 - dynamic website project

Assessment 3 - dynamic website project

Other Information

GENERAL SUBMISSION INFORMATION

Ensure that you submit assessments on or before the due date. 
Always retain a copy of your assessment tasks. (hard copy and soft copy)
When you submit work for assessment at RMIT University you need to use a cover sheet that includes a declaration and statement of authorship. You must complete, sign and submit a cover sheet with all work you submit for assessment, whether individual or group work.  On the cover sheet you declare that the work you are presenting for assessment is your own work. 

Late Submission Procedures

You are required to submit assessment items and/or ensure performance based assessment is completed by the due dates.
Late submissions of assessments will be eligible for grading at CAG (Competency Achieved) level only
If you are prevented from submitting an assessment item on time, by circumstances outside your control, you may apply in advance to your teacher for an extension to the due date of up to seven calendar days.

More Information:  http://www.rmit.edu.au/students/assessment/extension
Form to use:  http://mams.rmit.edu.au/seca86tti4g4z.pdf

Where an extension of greater than seven days is needed, you must apply for special consideration.  Applications for special consideration must be submitted no later than two working days after the assessment task deadline or scheduled examination.


More Information: http://www.rmit.edu.au/browse;ID=g43abm17hc9w (unresolved)
Form to use: http://mams.rmit.edu.au/8a5dgcaqvaes1.pdf

Resubmissions (VET Programs):

If you are found to be unsuccessful in a Course Assessment Task you will be allowed one resubmission only.  Your teacher will provide feedback regarding what you need to do to improve and will set a new deadline for the resubmission.  The highest grade you will receive if your resubmission is successful is “CAG”.
If you are still not meeting the assessment requirements you must apply to your Program Manager in writing outlining the steps you will take to demonstrate competence in your course. Your submission will be considered by the Program Team and you will be advised of the outcome as soon as possible.

Adjustments to Assessment

In certain circumstances students may be eligible for an assessment adjustment. For more information about the circumstances under which the assessment arrangements might be granted please access the following website:
More Information: http://rmit.edu.au/browse;ID=7usdbki1fjf31

Marking Guide (Competency):

You must demonstrate that you have all the required skills/knowledge/elements in the unit of competency you are studying.
You will receive feedback on each assessment task that will inform you about your progress and how well you are performing.

CA - Competency Achieved 
NYC - Not Yet Competent
DNS - Did Not Submit Assessment

 

Course Overview: Access Course Overview