PHP Programming Fundamentals
PHP has become the de-facto standard server-side programming language for web applications, particularly because oit works so well with Apache (the popular web server), but also because of its versatility and its simplicity of use for the implementation of relatively complex tasks,such as. 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 opportunity for students to to try out everything in practice.In the UK this course is available for one-company, on-site presentations and for live presentation over the Internet, via the Virtual Classroom Environment service.
Public presentations of this course are run in Leuven in Belgium and in Woerden in Holland.
What you will learn
On successful completion of this course you will be able to:
- build dynamic websites
- maintain PHP-based websites
- write programs using PHP
Who Should Attend
Web designers, developers and administrators who would like to make their website dynamic through PHP, or who maintain a PHP-based website. The course is also good for application developers who want to use PHP as a programming language for applications outside of websites.
Prerequisites
A sound understanding of programming concepts is required, as well as familiarity with HTML and web server concepts.
Duration
3 days
Fee (per attendee)
£1625 (ex VAT)
This includes free online 24/7 access to course notes.
Hard copy course notes are available on request from rsmshop@rsm.co.uk
at £50.00 plus carriage per set.
Course Code
PHPA
Contents
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; input/output.
The use of lists (arrays and associative arrays)
Structuring, searching, iterating, sorting, merging, ... of data in lists.
Functions
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; Validating user input; interaction with JavaScript; GET and POST.
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; HTTP session management, navigating between pages, and the use of cookies; File upload.