CWEB 136 - Introduction to PHP

JOHNSON COUNTY COMMUNITY COLLEGE
TECHNOLOGY DIVISION
COMPUTER WEB
COURSE OUTLINE

 

Title: Introduction to PHP Effective Term: Spring 2009
Number: CWEB 136 Credit Hours: 1 Contact Hours: 1
Course Type: Career Lecture Hours: 0 Lab Hours: 0
Integrated Lecture/Laboratory: 1

Description:

This course covers the commands and techniques available to add functionality to Web pages using PHP (Hypertext Preprocessor). Students will build client-side PHP scripts with variables, functions, expressions, methods, and events to validate forms and enhance Web page functionality. The basics of server-side scripting are introduced. 1 hr. integrated lecture/lab wk.

Associated Costs: These are additional (out-of-pocket) expense considerations that students should expect in addition to the course tuition, fees, and textbooks. $10 to $20.

Supplies: Refer to the instructor's course syllabus for details about any supplies that may be required.

Prerequisites: CWEB 101 Introduction to the Web using Internet Explorer
and
CPCA 114 Databases I: MS Access

Textbook(s): For information see - http://bookstore.jccc.net

Course Fees: NONE

Course Objectives:

Upon successful completion of this course the student should be able to:

  1. Explain the purpose and interaction between data-driven Web site components including the purpose for scripting languages and middleware.
  2. Use HTML elements to create a Web form.
  3. Write PHP scripts demonstrating the use of variables, arrays, functions, expressions, methods, properties, events, if statements, and loops.
  4. Differentiate the need between client-side and server-side PHP scripts, and create examples of each.
  5. Post PHP Web pages and debug PHP scripts.

Content Outline & Competencies:

I. Data-driven web site components, scripting languages, and
middleware
   A. Explain the role and functions of the browser and web page.
   B. Compare the role and functions of HTML and scripts.
   C. Contrast the role and functions of client-side and server-side
scripts.
   D. Explain the role and functions of the database.
   E. Demonstrate the purpose of SQL.
   F. Explain the role and functions of various web page development
tools.
   G. Contrast the role and functions of the client with the server.
   H. Explain the role and functions of the server and server operating
system.

II. Web forms
   A. Use the form element in a web page to create a web form.
   B. Set the action attribute to a script file.
   C. Differentiate between post and get methods.
   D. Use input elements to collect and submit data on a form.
   E. Use select and option elements to collect data on a web form.
   F. Add table elements to align information on a web form.

III. Introduction to PHP
   A. Describe the purpose for PHP.
   B. Demonstrate the rules for PHP syntax.
   C. Create basic PHP scripts to HTML files using variables, arrays,
functions, expressions, methods, properties, and events.
   D. Add PHP control structures such as If statements and loops.

IV. Client-Side PHP Scripts
   A. Create PHP scripts for form input.
   B. Create PHP scripts for various user interface effects such as
rollovers.
   C. Post and debug PHP client-side scripts.

V. Server-Side PHP Scripts
   A. Create PHP scripts to obtain form data and output HTML.
   B. Use PHP scripts to open files to read, write, and append data.
   C. Post and debug PHP server-side PHP scripts.

Methods of Evaluation of Competencies:

Evaluation of student mastery of course competencies will be accomplished using the following methods:

Evaluation of student mastery of course competencies will be
accomplished using the following methods:

A minimum of one quiz	        50%
A minimum of five projects	50%
			       100%

Grade Criteria:

   90 - 100%   A
   80 -  89%   B
   70 -  79%   C
   60 -  69%   D
    0 -  59%   F

Caveats: NONE

Disabilities:

If you are a student with a disability, and if you will be requesting accommodations, it is your responsibility to contact Access Services. Access Services will recommend any appropriate accommodations to your professor and his/her director. The professor and director will identify for you which accommodations will be arranged.

JCCC provides a range of services to allow persons with disabilities to participate in educational programs and activities. If you desire support services, contact the office of Access Services for Students With Disabilities (913) 469-8500, ext. 3521 or TDD (913) 469-3885. The Access Services office is located in the Success Center on the second floor of the Student Center.