Develop Server-side Web Applications Using Php Course Utline
Develop Server-side Web Applications Using Php Course Utline
UNIT CODE:ICT/CU/CP/CR/09/6/A
This unit addresses the unit of competency: Develop Server-side Web Applications
Duration of Unit: 170 hours
Unit Description:
This unit specifies competencies required to develop serve side web applications. It involves
understanding server-side development concepts, understanding PHP basics, using PHP datatypes
and their operators, using control statements, using arrays, using PHP Superglobals, developing
forms, testing and debugging applications
Suggested Assessment
Learning Outcome Content
Method
1. Understand server • Server Side Development Concept • Written tests
side development • Key terminologies in server side • Oral tests
concepts development
• Server side development languages
2. Understand PHP • Definition of PHP • Written tests
basics • Purpose of PHP • Oral tests
• Installation of Apache distribution • Practical tests
• PHP syntax
✓ PHP main tags
✓ Case sensitivity
✓ Comments
• Creation of a PHP file
✓ Using PHP tag
✓ Displaying simple output
✓ Saving in the appropriate
directory
3. Use PHP data types • PHP data types • Written tests
and their operators ✓ String • Oral tests
✓ Integer • Practical tests
✓ Float
✓ Boolean
✓ Array
✓ Object
✓ Null
✓ Resource
• Variable declaration
• Using Operators
✓ Arithmetic
✓ Assignment
✓ Comparison
✓ Increment/Decrement
✓ Logical
✓ String
✓ Array
✓ Conditional assignment
• Creation of PHP application using
data types
4. Use control • Types of Control Statements • Written tests
statements ✓ Decision • Oral tests
• If..else • Practical tests
• If..else..If
• Switch statement
✓ Looping
• While loop
• For loop
• Demonstration of different control
statements
• Creation of PHP application using
control statements
5. Use arrays • Definition of Arrays • Written tests
• Types of arrays • Oral tests
✓ Indexed • Practical tests
✓ Associative
✓ Multidimensional
• Array functions
✓ Adding elements (push)
✓ Removing elements (pop)
✓ Rearranging elements (shift)
✓ Sorting elements
• Array data processing operations
✓ Arithmetic
✓ Calculation of array totals
✓ Calculation of array average
✓ Finding a value
✓ Finding largest and smallest
values
• Creation of PHP applications using
arrays
6. Use PHP • Definition of PHP Superglobals • Written tests
Superglobals • Uses of Superglobals • Oral tests
✓ $_GET • Practical tests
✓ $_POST
✓ $_SERVER
✓ $_ENV
✓ $_COOKIE
✓ GLOBALS
✓ $_REQUEST
✓ $_FILES
• Demonstration of the $_SESSION
variable
• Creation of PHP applications using
superglobals
7. Develop forms • Definition of PHP forms • Written tests
• Requirements of form creation • Oral tests
✓ Method • Practical tests
✓ Action
• Using form methods
✓ POST
✓ GET
• Define form validation
• Form validation functions
✓ stripslashes()
✓ htmlspecialchars()
✓ isset()
✓ isempty()
✓ preg_match()
✓ filter_var()
• Creation of a contact form with
attachment
• Database storage
✓ Connecting to a database
✓ Saving to a database
✓ Retrieving, parsing and
displaying data
8. Test and debug • Identification of test parameters • Written tests
applications • Acquisition of test data • Oral tests
• Types of errors • Practical tests
✓ Syntax
✓ Logic
✓ Semantic
• Demonstration of error handling
methods
✓ Simple “die()” statements
✓ Custom errors and error
triggers
✓ Error reporting
• Code profilers
✓ Standard profilers
✓ Tracing profiles
✓ Application Performance
Monitoring (APM) tools
Recommended Resources
Tools
• Apache Distribution
• Browser
• Text Editor
Equipment
• Computers
Materials and supplies
• Instructional materials
• Stationery