Course Description
Course Aims and objectives
Course outlines
Text book and references
Prerequisite
Grading policy
Instructors and office hours
Syllabus
Time table
Lecture Notes
Attached Files
Previous Exams
Course Description
Course Aims And Objective
Objective 1: Learn the basics of the PHP programming language. Objective 2: Writing programs that make use of conditional and iterative execution. Objective 3: Writing functions that return values. Objective 4: Practice with creating and manipulating arrays. Objective 5: Practice with string patterns: Comparing, Searching and Replacing Strings, Formatting Strings, Perl-compatible Regular Expressions. Objective 6: Practice with web programming: Anatomy of aWeb Page, Forms and URLs, HTTP Headers. Objective 7: Practice with Object Oriented Programming in PHP: OOP Fundamentals, Class Methods and Properties, Constants, Static Methods and Properties, Interfaces ; |
Course Outline
PHP Basics | |
? Syntax ? Source Files and PHP Tags ? Newline Characters ? Anatomy of a PHP Script ? Comments ? Whitespace ? Code Block ? Language Constructs ? Data Types ? Numeric Values ? Strings ? Booleans ? Compound Data Types ? Other Data Types ? Converting Between Data Types ? Variables ? Variable Variables ? Determining If a Variable Exists ? Constants ? Operators ? Arithmetic Operators ? The String Concatenation Operator ? Bitwise Operators ? Assignment Operators ? Referencing Variables ? Comparison Operators ? Logical Operators ? Other Operators ? Operator Precedence and Associativity ? Control Structures ? Conditional Structures ? Iterative Constructs ? Breaking and Continuing ? Errors and Error Management ? Types of Errors ? Error Reporting ? Handling Errors | |
Functions | |
1. Basic Syntax 2. Returning Values 3. Variable Scope 3.1 Passing Arguments 3.2 Variable-length Argument Lists 3.3 Passing Arguments by Reference |
Text book and references
The Main Book |
Grading Policy
Activity | Weight |
Instructors And Office Hours
The Instructors of the Course |
Miscellaneous
Time Table
Subject | Hours |
Lecture Notes
Lecture Notes |
Attachment Files |
Previous Exams
Previous Exams |