PHP programming: fundamentals course
PHP has become the de-facto standard server side programming language for web applications, especially because of its good understanding with Apache, the popular web server, but also because of its versatility and its simplicity to implement relatively complex tasks, like e.g. user authentication, possibly with the help of MySQL. During this course, the basic syntax of PHP is treated in a detailed and structured manner, though examples and also with the possibility to try out everything in practice.
Web designers, developers, and administrators who would like to make their website dynamic through PHP, or who maintain a PHP-based website. But also application developers who want to use PHP as a programming language for applications outside of websites.
Participants should on the one hand have a basic programming experience (see course Programming fundamentals) and should on the other hand be sufficiently familiar with HTML and the webserver business. During the course, students have the possibility to practice on both an MS-Windows and a Linux platform.
- Installation and configuration:
- Installing and customising Apache; httpd.conf
- Installing PHP; configuring for MySQL; configuration choices in php.ini
- UNIX specific setup: MS-windows specific setup
- Introduction to PHP:
- What is PHP? Why using PHP?
- Examples of dynamic functionality on a website
- Some basic concepts of HTML
- Basic structures in PHP:
- Interaction with HTML; variables; expressions; general syntax aspects
- Datatypes; program flow through conditionals and loops
- Built-in variables and their meaning
- The use of lists (arrays and associative arrays):
- structuring, searching, iterating, sorting, merging, ... of data in lists
- Creating your own functions
- Passing arguments to functions; specifying default arguments
- Manipulation and comparison of data
- interpolation; text manipulation; cut, paste, concatenate, trim, ...
- pattern matching with regular expressions
- Web forms
- Creating fill-in forms with PHP
- GET and POST
- More advanced topics:
- Working with external files
- Calling external (system) commands from PHP
- Executing a PHP program outside the context of a web server
- Webserver-specific possibilities
- HTTP authentication through PHP; login administration and password administration
- Access to networking services like email, DNS, databases
- File upload
Classroom instruction; theory, examples and exercises.
|SESSION INFO AND ENROLMENT|