|
Standard |
Posted: 09/10/07
|
R State
Standard £ Institutionally Developed College: n/a |
CIS
2451 – Introduction to PHP Programming
Course
Description
Students
will learn how to create dynamic web sites using the PHP programming language. Topics include: introduction to PHP, web
server, and database environments; embedding PHP in HTML documents; variables;
arithmetic operations; functions; forms; conditional statements; iterative
statements; arrays; text files; and creating, populating, retrieving, and
updating database tables via PHP applications.
|
Competency Areas |
Hours |
|
|
PHP
Environment |
Class |
4 |
|
Web
Server Environment |
D.
Lab |
6 |
|
Variables |
P.
Lab/O.B.I. |
0 |
|
Arithmetic
Operations |
Credit |
7 |
|
Functions |
|
|
|
Forms |
|
|
|
Conditional
Statements |
|
|
|
Iterative
Statements |
|
|
|
Arrays |
|
|
|
Text
Files |
|
|
|
Database
Fundamentals |
|
|
|
Use
PHP to Create, Retrieve, and Update Database Tables |
|
|
|
Prerequisite: |
CIS
105 & CIS 2202 |
|
Corequisite: |
|
|
Course
Guide |
|
Competency |
After completing
this section, the student will be able to: |
Hours |
||
|
Class |
D.Lab
|
P.Lab/ O.B.I. |
||
|
|
|
|
|
|
|
PHP
Environment |
5 |
0
|
||
|
|
|
|
|
|
|
|
Review
basic HTML concepts |
|
|
|
|
Web Server
Environment |
2 |
2
|
|
|
|
|
Introduction
to web development terminology |
|
|
|
|
Install
PHP, web server, and database on the client |
|
|
|
|
|
Variables |
4 |
0
|
|
|
|
Describe
the use of variables |
|
|
|
|
|
Define
variable types |
|
|
|
|
|
Describe
the use of literals |
|
|
|
|
|
Combining
variables, literals, and the PRINT statement |
|
|
|
|
|
Arithmetic
Operations |
2 |
8
|
|
|
|
Define
arithmetic operators |
|
|
|
|
|
Write
simple and complex expressions |
|
|
|
|
|
Functions |
4 |
8
|
|
|
|
Basic
functions |
|
|
|
|
|
String
functions |
|
|
|
|
|
Programmer-defined
functions |
|
|
|
|
|
Forms |
2 |
8
|
|
|
|
Create
HTML form buttons, boxes, lists, and text areas |
|
|
|
|
|
Receive
form input into PHP scripts |
|
|
|
|
|
Conditional
Statements |
3 |
6
|
|
|
|
Use
the IF statement |
|
|
|
|
|
Use
the SWITCH statement |
|
|
|
|
|
Iterative
Statements |
3 |
6
|
|
|
|
Use
the FOR loop |
|
|
|
|
|
Use
the WHILE loop |
|
|
|
|
|
Use
the FOREACH loop |
|
|
|
|
|
Arrays |
5 |
10
|
|
|
|
Use
sequential arrays |
|
|
|
|
|
Use
associative arrays |
|
|
|
|
|
Text Files |
1 |
2
|
|
|
|
Create,
access, and update text files |
|
|
|
|
|
Database
Fundamentals |
4 |
0
|
|
|
|
Define
basic database terminology and concepts |
|
|
|
|
|
Use PHP to Create,
Retrieve, and Update Database Tables |
5 |
10
|
|
|
|
Write
SQL commands to create, populate, read, and update tables |
|
|
|
|
|
Suggested
Resources |
The
Web Wizard's Guide to PHP, ISBN: 0-321-12174-0, Lash, Prentice Hall