Internet Programming II
Internet Programming II
COURSE DESCRIPTION:
This course introduces students to the specifics of the World Wide Web and Internet based
programming. The evolution of the Internet and its technical foundation will be studied as well as
basic techniques for presenting information on the World Wide Web. The client/server paradigm
will be explored in detail featuring website design and construction using HTML, CGI, backend
databases and PHP. Students will learn how to construct their own web clients and servers and
become proficient PHP programmers.
COURSE OBJECTIVES
Course Content
1
Chapter 1. Introduction to PHP
1.1. Origins of the language
1.2. Benefits over other dynamic languages
1.3. Demonstration of a simple program
Chapter 2. Installation of PHP
2.1. Installing PHP with Apace and MySQL
2.2. Setting the Configuration
Chapter 3. PHP Basics
3.1. Documentation of Syntax
3.2. If Statements
3.3. Loops
3.4. PHP defined variables
3.5. PHP defined functions
3.6. HTML forms and PHP
3.7. CSS and PHP
3.8. JavaScript and PHP
Chapter 4. PHP Functions
4.1. Built in function
4.2. Uploading
4.3. Mailing
4.4. User defined function
Chapter 5. OOP in PHP
5.1. Object oriented terminology
5.2. How to create modular re-useable code
Chapter 6. PHP and MySQL
6.1. Basic syntax of MySQL (creating databases, tables, queries)
6.2. Using PHP functions to use MySQL to its full potential
6.3. Handling the results of a database query
6.4. Displaying data from MySQL results using PHP
Chapter 7. Arrays
7.1. User defined arrays
7.2. Database record sets
7.3. Treating normal variables as arrays
7.4. Learn the for each loop when using arrays
2
7.5. Modify data inside arrays
7.6. Use for loops to create arrays
7.7. Examine PHP defined functions for arrays
Chapter 8. Sessions
8.1. Functionality in user accounts
8.2. Benefits and Warnings of session variables
8.3. Sessions vs HTTP header information vs Form data
8.4. Sessions and Databases
8.5. Explore the PHP defined session function
Lab outline
PHP Syntax
Output statements
Comments
PHP Variable and Data type conversion
Control structures (Conditional and Looping statements)
Array
Function
Form Processing
File uploading
Session and Cookie
Database programming
File management in PHP
Date and Time
Math functions
Ajax programming
Introduction to Web development frameworks
Bootstrap, node.js, angular.js
3
DELIVERY METHODS:
Lectures
Demonstrations, and Lab Sessions
Programming assignments
Assessment Methods
Assessment Method Weight
Written Tests 20
Practical Tests 20
Programming Assignments 10
Final Exam 50
REFERENCES
W3Schools, https://www.w3schools.com
ClydeBank Technology, PHP Quick Start Guide: The Simplified Beginner’s Guide To PHP (PHP, PHP
Programming, PHP5, PHP Web Services), ClydeBank Media LLC: PHP, PHP Programming,2015
Scott, Robert, PHP: MySQL & PHP Programming Guide: Web Development, Database & Hacking
Robin Nixon, Learning PHP, MySQL, JavaScript, and CSS, 2nd, 2012 Published by O’Reilly Media, Inc.