You are on page 1of 3

University

Faculty of Engineering and Technology

Department of Computer Science

Course Title: Internet Programming II

Course Number: COSC3032

Cr Hrs. : 3 Cont. Hrs. 4

Prerequisite: COSC3031, COSC2072

Course Description

Internet Programming II is the second course in the curriculum related to internet programming. It is the
continuation of the course Internet Programming I. This course teaches web based system development
concepts using PHP and MySQL. The focus in the course will be developing dynamic websites using the
selected technologies. In addition to basic introductory concepts related to dynamic websites,
fundamental PHP programming constructs will be discussed in this course. MySQL DBMS and Database
connection related concepts are also covered in the course.

Course Objective

Upon completion of this course students will be able to:

 Explain basic concepts related to types of websites and technologies used.


 Understand basic programming constructs of PHP programming language.
 Solve programming problem using PHP programming language
 Understand basics of MySQL Database Management System
 Develop database using MySQL DBMS
 Connect the database developed using MySQL with Web page to access, insert and update data
 Develop Dynamic website

Chapter one – Introduction

1.1 Static vs Dynamic Websites


1.2 Server-side scripting Language vs Client-side scripting language
1.3 Components of a dynamic website
1.3.1 Web server
1.3.2 Scripting Languages
1.3.3 Database
1.4 Tools used

Chapter Two – PHP programming fundamentals

2.1 Introduction to PHP

2.2 PHP script basic syntax

2.3 PHP variables, data types and constants

2.4 Operators in PHP

Chapter Three – Program Flow control in PHP

3.1 Branching statements / Conditional statements

3.1.1 If statements

3.1.2 Switch statement

3.2 Looping statements

3.2.1 While statement

3.2.2 Do … while statement

3.2.3 For loop and foreach loop

3.3 Break and continue statements

Chapter Four – Arrays in PHP

4.1 Basic concept of Array

4.2 Types of Array

4.2.1 Numeric array and Associative array

4.2.2 One dimensional and multidimensional array

4.3 Creating and accessing arrays

4.4 Manipulating arrays using built in function - Example

Chapter Five – String Manipulation and Regular Expression

5.1 String manipulation in PHP

5.2 Regular Expression in PHP

Chapter Six - PHP Function

6.1 Advantages of using functions

6.2 Built-in PHP functions


6.3 User defined PHP function

Chapter Seven – MySQL Relational Database and PHP

7.1 Introduction to MySQL DBMS

7.2 Creating and Altering database in MySQL

7.3 Creating and Altering tables in MySQL

7.4 Creating and Altering constraints in MySQL

7.5 Database connection concepts

7.6 Making your MySQL database secure

Textbook

Welling, Lucke & Laura Thomson (2017). PHP and MySQL© Web Development (5th ed). USA: Pearson
Education Inc.

Reference Books

Ullman, L. (4th ed.). PHP for the web. VISUAL QUICKSTART GUIDE (2010). USA

Connolly, Thomas & Carolyn Begg (2015). Database Systems: A Practical Approach to Design,
Implementation and Management (6th ed). Boston, New York: Pearson Education Inc

Bulger, Brad, Jay Greenspan & David Wall(2004). MySQL / PHP Database Applications (2nd ed). USA,
Indiana: Wiley Publishing Inc

Evaluation Modalities

Attendance --------------- 5%
Theoretical Test --------------- 15%
Individual Assignment --------------- 10%
Mini project --------------- 15%
Class Evaluation --------------- 5%
Final Exam --------------- 50%

You might also like