Sei sulla pagina 1di 4

Web Programming II

Course Code: CS410


Credit Hours: 03

Prerequisites: Web Programming-I (HTML, CSS, JavaScript, Dreamweaver)

Course Description:
The course introduces you to MySQL and PHP. PHP is a powerful language for writing
server-side Web applications. MySQL is the worlds most popular open source database. Together,
these two technologies provide you with a powerful platform for building database-driven Web
applications. During the course, you ll walk through the development of a complete content
management system Web application. Modern tools and languages will be used. Hands-on Web
development and programming exercises will be included.

Course Outcomes:
Upon completion of this course, the student will be able to:
Create dynamic Web pages using the PHP programming language and the My SQL database
server.
Develop Web pages that include the use of forms and use PHP for server-side operations.
Create an interactive Web site, allowing visitors to post and retrieve information provided by
you or your sites visitors.
Explain the basic concepts of the Web Servers, client-server architecture and tools.
Create a Web site that can allow your sites visitors to add new information to an online
database, search through posted data, and create meaningful printed reports.
Develop a complete content management system Web application.
Explain and distinguish the types of software capabilities that can be programmed for the
server side.
Explain applications of Web-based technology in the real world and give examples.

Khurasan University P a g e 1 of 4
Web Programming II
Course Outline:

Part 1: MySQL Database


1. Introduction
a) Dynamic Website
b) Server Side Scripts
c) Database Concepts

2. MySQL
a) Structure
b) Objects
c) Instance
d) Users
e) Installation
f) SQL Basics (DDL, DML, DCL)

Part 2: PHP
1. PHP Basic
a) How PHP Works
b) Basic PHP Syntax
c) Echo / Print statements
d) Comments
e) Variables
Variable Types
Variable Names (Identifiers)
Variable Scope
Superglobals
Constants

2. Operators and Expressions


a) Expressions
b) Assignment Operators
c) Arithmetic Operators

Khurasan University P a g e 2 of 4
Web Programming II
d) Relational Operators
e) Logical Operators
f) Increment and Decrement Operators
g) Operate-Assign Operators (+=, etc.)
h) Operator Precedence

3. Control Flow
a) Statements
b) If Statement
c) Else Statement
d) Else if statement
e) Switch Statement
f) For loop
g) While loop
h) Do While loop
i) Foreach loop

4. Arrays
a) What is Array?
Initializing Associative Arrays
Appending to an Array
Reading from arrays
Looping through Arrays
b) Associative Arrays
Initializing Associative Arrays
Reading from Associative Arrays
Looping through Associative Arrays
c) Two-dimensional Arrays
Reading from Two-dimensional Arrays
Looping through Two-dimensional Arrays
d) PHP Array Functions

Khurasan University P a g e 3 of 4
Web Programming II
5. String Manipulation
a) Formatting Strings
b) String Manipulation Functions

6. PHP and HTML Forms


a) How HRML Forms Work
b) Form Variables

7. PHP Functions
a) Functions
b) Calling Functions
c) Defining Functions
d) Functions Parameters
e) Built-in Functions (e.g. Calendar, Date, Math Functions etc)

8. Database Programming in PHP


a) PHP My SQL Connect
b) PHP CREATE DB/ Table
c) PHP INSERT INTO
d) PHP SELECT
e) Building HTML tables using SQL Queries
f) PHP WHERE
g) PHP ORDER BY
h) Record Searching
i) PHP UPDATE
j) PHP DELETE
k) PHP File Upload
l) PHP ODBC
m) User Login and Sign Up

9. Object Oriented Programming in PHP


10. PHP Form Validation
11. PHP Sessions and Cookies
12. PHP E-Mail

Khurasan University P a g e 4 of 4

Potrebbero piacerti anche