Web Programming using PHP
Aims
- to introduce the PHP programming language
- to develop the PHP skills required to create dynamic websites, process forms, read and write external file data, and analyze and manipulate such data.
- to encourage good programming practice by writing efficient well-documented code that can be easily understood by colleagues.
- to help students to acquire the self-study skills and resources to enable them to further enhance their knowledge and capabilities with PHP.
Content
- Introduction to PHP: Open Source origins. PHP syntax (variables, control structures, functions)
- Data Analysis: Using PHP to open, read, write and close external files and manipulate data. Pattern matching with regular expressions.
- Form Processing: Using PHP to process submitted form data. Validating and displaying data/redisplaying form.
- Security: Avoiding security pitfulls by careful coding.
- Maintaining State With PHP: Cookies. Session management.
Prerequisites
- Introduction to Web Authoring.
- Problem Solving for Programming and/or JavaScript.
- Or equivalent web authoring (HTML/CSS) and programming skills.
Credits
- 15 CATS points at Level 5 NQF
Web Design and Authoring
Information Technology
Open Source Database and Web Applications
Project