This is a 1 day overview of PHP on Windows or Linux covering installation and configuration, writing command line and web based scripts, syntax and essential core. The course looks at how to work with PHP in both procedural and object oriented methods and moving on to some more useful web features and interaction with databases.
Anyone who wants to get up to speed with PHP to create web based applications on either Windows or Linux under IIS or Apache
Since this is a 1 day course the main focus is to impart useful information with examples and demonstrations. There are some exercises included if time allows.
An understanding of HTML and JavaScript, and being able to create a web page.
1st Day: Start 9:00am - Finish 5:00pm
History of PHP, what it is, where it can be used and how to instal
What is the PHP configuration file, format and layout and understand the sections
Add a handler for PHP and how to deal with errors and check that it has been configured correctly
How PHP can be used to write command line scripts to automate tasks
The format and layout of a PHP web file, how to check that it runs, display error messages to the browser, getting server variables
Understand the sytax of a PHP script, what statements are and how to add comments, work with variable storage types
Work with conditional expressions and operators and control loops in PHP
Work with built-in functions to PHP, define and use your own functions and include other functions. Deal with errors and exceptions
Understand OO concepts, define your own class and use it, work with inheritance and build bigger classes
Use PHP to obtain data from web forms using the different methods of receiving data from the client and validate it. Work with file uploads and be able to send Emails from your application
Understand what cookies are, create and retrieve cookie data, provide an expiry time and other attributes. Understand what a session is and be able to create and retrieve data stored in a session
How to work with databases in PHP, configure PHP options for databases, how to connect to different databases and the functions required to work with them. Using generic methods to connect to databases through ODBC or PDO
How to work with AJAX in PHP. Create and consume JSON data with PHP functions specific for the task
A quick look at some frameworks available for PHP and what they can do for you