Course Title: Integrate database with a website

Part B: Course Detail

Teaching Period: Term2 2013

Course Code: COSC6121C

Course Title: Integrate database with a website

School: 650T TAFE Business

Campus: City Campus

Program: C5300 - Diploma of Information Technology

Course Contact : Swati Dave

Course Contact Phone: +61 3 9925 5811

Course Contact

Name and Contact Details of All Other Relevant Staff

Michael Edwards                

Sunam Pradhan                 

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


Course Description

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

National Codes, Titles, Elements and Performance Criteria

National Element Code & Title:

ICADBS504A Integrate database with a website


1. Connect to 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


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


3. Update 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

A range of learning activities are planned for this course including self-paced and collaborative classroom based activities.

Learning activities will include laboratory-based sessions on a variety of topics as shown in the weekly breakdown. Learning activities will generally consist of practical computer exercises based on teacher handouts. Students should attend all sessions.

Students will also be expected to undertake work on a variety of activities for homework.

The collaborative classroom based activities will include group discussion, group problem solving activities and opportunities to practice your skills in a simulated/real workplace environment.

We expect you to participate and contribute in all scheduled learning activities.

Teaching Schedule

The nominal hours associated with this are a guide only and represent the total teaching time and student effort required to successfully complete the course. This may include not only scheduled classes but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.

WeekWeek CommencingTopicsAssessmentCompetencies Delivered 
18th Jul 2013

Pre-training review:
• LLN as required

Familiarisation with:
• Program
• Services/facilities
• Other students
• Teacher(s)
• Where to get support
• Student responsibilities
• Course requirements
• Course support documents
• Pre-reading
• Blackboard

Overview of assessment requirements:
• Grading
• Plagiarism
• Appeals
• Extensions
• Feedback
• Privacy
• Submission requirements
• Resubmission policy

Introduction to Course & PHP:
• Course introduction & overview
• Introduction to jacob, WinSCP, PHP & variables

215th Jul 2013PHP crash course on variables, constants, functions, forms with GET & POST ICAWEB502A
322nd Jul 2013PHP crash course on operators, functions, and include files. Intro to selection & loopsTASK 1 - Class Exercises checkedICAWEB502A
429th Jul 2013Exercises on selection & loops using forms. Self-posting forms ICAWEB502A
55th Aug 2013PHP arrays including basic syntax, array functions, associative arrays & 2-D arrays ICAWEB502A
612th Aug 2013PHP functions including function declarations, arguments, returns & calls. Forms & data validation functionsTASK 2 - Project Specifications issuedICAWEB502A
719th Aug 2013PHP string functions. Email forms
Revision for class exercise with feedback
826th Aug 2013Class exercise with form & response pages.
Intro to MySQL syntax & Navicat
TASK 1 - Class Exercises checkedICAWEB502A
MID-SEMESTER BREAK (2nd Sep - 6th Sep 2013 inclusive)
99th Sep 2013PHP MySQL Functions. A PHP search page & an insert pageTASK 2 - Project Requirements dueICAWEB502A
1016th Sep 2013Database utility functions. Select pages, insert pages, detail pages & delete pages ICAWEB502A
1123rd Sep 2013Database utility functions. Update pages. Simple navigation. Web folder structureTASK 1 - Class Exercises checkedICAWEB502A
1230th Sep 2013Client-side validation using JavaScript functions in include file. Work on project ICAWEB502A
137th Oct 2013Database utility functions. Login security using session variables. Work on projectTASK 2 - Feedback on WebsiteICAWEB502A
1414th Oct 2013Final work on projectTASK 2 - Project Website due (end of week)ICAWEB502A
1521st Oct 2013System demonstrations. Work on project documentationTASK 2 - Project Documentation due (end of week)ICAWEB502A
 1628th Oct 2013Course & assessment feedback.
Re-submission of work if required

Learning Resources

Prescribed Texts

The following textbook is prescribed for this course:
Welling, L & Thomson, L, 4th Edition (2009), PHP and MySQL Web Development, Pearson Education, ISBN-13: 978-0672329166 It is expected that all students will purchase a copy of this text as soon as possible. Students will be working directly on various tasks from this book in most classes.


Other Resources

Students may also refer to various Websites and other textbooks as indicated their teacher.

Overview of Assessment

Students must demonstrate an understanding of all elements of competency to be deemed competent.

A range of assessment methods are used to assess practical skills and knowledge, for example:

  • direct questioning combined with review of portfolios of evidence
  • demonstration of techniques
  • evaluation of a web application created to access, display and update data stored in a database
  • verbal or written questioning to ensure knowledge of the impact of data-driven web applications.

Students are advised that they are likely to be asked to personally demonstrate their assessment work to their teacher to ensure that the relevant module standards are being met.

Assessment Tasks

You are required to complete 2 assessment tasks. You must successfully complete each task to be deemed competent in this unit.

TASK 1 - Class Exercises (Dates: Refer to Teaching Schedule)
For this assessment task you will be required to demonstrate a variety dynamic Web pages for various business scenarios throughout the course. You will also be expected to develop MySQL databases to act as a back end for these Web pages.

In the early part of the course you will be expected to build a dynamic Web page for an automobile dealer using instructions provided in the textbook and on the various worksheets distributed in class.

In the middle part of the course you will be expected to demonstrate your skills in creating a dynamic Web page which responds to a data entered by a user in a Web form.

In the latter part of the course you will build a database for an online bookstore, and create a variety of Web pages to select, insert, update and delete data. You will also be expected to demonstrate data validation using client-side script.

Some of these exercises are to be demonstrated to your teacher. Therefore you should retain all Web pages and database tables which you create in class

TASK 2 - PHP Website Project

For this assessment task you are required to develop a Website for an online store of your choice. The project consists of two parts, an online product catalogue and a user registration. Therefore students will be expected to work in pairs on the project.

For each section of the project you will need to connect to a MySQL database consisting of one or more tables. You will be expected to create a variety of Web pages to select, insert, update and delete data. You will also be expected to demonstrate data validation using client-side script or server-side script.

As an option, you will be asked to develop a login system using session variables to enable appropriate access to the various Web pages on your site.

The project has been broken down into two stages. You must meet all the requirements of the project (as outlined below) to be deemed competent in this course.

STAGE 1 - Project Requirements (Due: Week 09)

Firstly you will be expected to create a requirements document for your Website. This should include:

•  A brief description of the features and functions of your section of the Website.
•  A brief explanation of which sections of your Website will require server-side dynamic content using PHP linked to a MySQL database, and which might use client-side script such as JavaScript
•  Mockups of at least two of the main pages in your section of the Website. You may wish to use screen shots of similar system or use special software to create mockups.
•  A data dictionary or screen shot showing the design of a one or two table database acting as the back-end system for your website, as well as sample data

STAGE 2 - Project Website & Documentation (Due: Weeks 14 & 15)

For this stage you will need to demonstrate in full each page and each feature of your part of the Website. For example you will be asked to demonstrate PHP select, insert, update and delete pages to manipulate data in your MYSQL database. You will also be expected to demonstrate and data validation or login security.

You will also be required to write and submit a report on your Website which includes each of the following:

•  A detailed test plan (including screen shots) which shows how you tested at least two of your main pages, using a variety of valid and non-valid inputs and different browsers
•  How and where you incorporated any examples of data validation into your Website.
•  How you incorporated, or would incorporate, any security elements into your Website ie. What type of access is, or should be, granted to different types of users who logged in to your site
•  How you overcame any major problems which you encountered in developing your Website.

Each time you demonstrate your Website you will be questioned on key concepts and techniques in using PHP. You will of course receive feedback in relation to the appearance and functionality of the site, particularly in relation to the initial client requirements. Timely completion of each stage is therefore essential.

Late submissions of work required for developmental stages of the project will be eligible for grading at pass level only.

Assessment Matrix


Other Information

Submission Requirements

Assessment tasks need to be submitted via Blackboard.

You should:

  • Ensure that you submit assessments on or before the due date. If your performance in the assessment is affected by unexpected circumstances, you should consider applying for Special Consideration. Information on the process and application forms is available at;ID=ls0ydfokry9rz website.
  • 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. An assignment cover sheet for submission of work for assessment is available on blackboard.
  • Each page of your assessment should include footer with your name, student number, the title of the assessment, unit code and title and page numbers. For example, Julie Macpherson, 324567, Task 2, OHS2345C Ensure safe workplace, Page 1 of 10.

Resubmission Guide:

Once a student has submitted an assessment task, a resubmission may be granted if deemed NYC. On resubmission, a student will not receive a grade higher than CAG (Competency achieved).

Marking Guide (Competency):

Vocational Education and Training (VET) is based on current industry needs and the focus on preparing you for the workplace. Because VET courses are informed by practical application of knowledge and skills, they are based on a system known as ‘competency based training’ (CBT).

So when you are assessed in VET it is about whether you are competent to do the job, as well as having a firm grasp on the knowledge and skills required to do that job, as opposed to traditional curriculum based education settings that are often based on knowledge retention.

You need to demonstrate you are competent in each element of the unit of competency you are studying.

You will receive feedback on each assessment task that will inform you whether you are competent or not and how well you are performing. Once competent in all elements of the unit you receive a competency grading.

Please refer to the Final Grades table below.

Marking Guide (Grading):

After achieving competency we then grade your performance in the unit; this gives you the opportunity to have the level of your performance formally recognized against industry standards and employability skills.

The grading will include the following criteria:


We We are looking for a high level of ability to complete all tasks independently as per the specifications given to in class. You should endeavour to demonstrate a high level of initiative in your approach to planning and developing and testing PHP/MySQL-driven Websites for the various business scenarios investigated.


We are looking for depth of understanding of the key concepts and knowledge required in planning and developing a variety of PHP/MySQL-driven Websites for the various business scenarios investigated. You should be able to demonstrate a thorough understanding of the techniques and concepts you have learnt in all assessment tasks.


We are looking for appropriate use of a modern PHP and MySQL to produce effective business Websites as per client requirements. You should aim to consistently demonstrate your skills in each assessment task.

You also need to be able to overcome the various problems which that can arise in developing a PHP/MySQL-driven Website. You will need to demonstrate a degree of perseverance, and be able research possible solutions via the Web.


You should aim to attend all class sessions and save your solutions to all exercises and assessment tasks you have completed, for example on your home drive or USB device. An organised folder structure is highly recommended.

It will be very advantageous to prepare for and review class materials using suggested resources, such as the recommended textbook or Websites indicated by your teacher.

We also expect to see ongoing progress in class exercises and the Website project, full utilisation of Blackboard as per course guidelines and timely submission of all assessment tasks.


We expect to see contributions to relevant discussions in class and with your team members. For the project in particular you will need to work effectively in a team, and manage your work to ensure timely completion and client approval. You should therefore also liaise with your client on a regular basis throughout the project.

Final Grades Table:

CHD    Competent with High Distinction
CDI      Competent with Distinction
CC       Competent with Credit
CAG     Competency Achieved – Graded
NYC     Not Yet Competent
DNS     Did Not Submit for assessment

Further information regarding the application of the grading criteria will be provided by your teacher.



Course Overview: Access Course Overview