PHP Web Programming
The PHP Web Programming course aims to teach programming skills using PHP as the first language and explore its use in implementing web applications. It's suitable for beginners and intermediate level programmers. The comprehensive curriculum covers the fundamentals of PHP and building dynamic websites. By enrolling in this course, learners can develop their programming skills for personal projects or career advancement.
per person
Level
Duration
Training Delivery Format
Face-to-face / Virtual Class
per person
Level
Duration
Training Delivery Format
Face-to-face (F2F) / Virtual Class
Class types
Public Class
Private Class
In-House Training
Bespoke
About this course
The goals of this course are twofold. One goal is to teach sound programming skills using PHP as the first programming language. The other goal is to explore the use of PHP in the implementation of Web applications.
Who should attend?
The course is for anyone who will be involved with the development and maintenance of web sites that use pages containing PHP.
Apart from developers, the course is also suitable for web site designers, web site administrators and project managers who wish to learn the capabilities and potential of PHP.
Learning Outcome
You will learn how to;
- Ability to create professional PHP websites using nothing more sophisticated than a text editor
- Implementing modular PHP code
- Using PHP to retrieve information from databases
- String manipulation and pattern matching with regular expressions
- Reading and writing data from files
- Working with arrays of data
- Managing date and time
- Maintaining state with cookies
- Using functions to implement modular code
- Working with PHP objects
- Understanding how an e-commerce site can be implemented using PHP
The course will use PHP running with Apache on a Linux or Windows platform. If required PHP can be used with IIS on a Windows platform.
- Storing and retrieving data from files
- Creating and manipulating arrays
- Specifying regular expressions to search for particular patterns
- Creating and using functions
- Creating and using objects
- Reading and writing data to a MySQL database
- Maintaining state with cookies
- Handling dates and time
- Generating images
Prerequisites
A sound knowledge of HTML is a pre-requisite for this course.
Course Content
1. Overview of PHP
- Why embed a server side scripting language in a web page?
- PHP and CGI compared
- PHP as an alternative to ASP
2. Fundamentals of PHP Syntax
- Variables
- Expressions and operators
- Expression statements and compound statements
- Decision statements – if, else if, switch
- Iteration statements – for, while, do/while
3. Functions
- Defining and Invoking Functions
- Functions as Data
- Function scope ( Call Object )
- Function arguments (Argument Object)
- Function properties and methods
4. Arrays
- Array elements
- Array methods
5. Objects
- Basic concepts
- Creating and deleting
- Methods
6. Strings
- Strings and string manipulation
- Pattern Matching and Regular Expressions
7. Input – Output
- Opening, closing, reading and writing files
- Formatted output with print
8. Databases
- Overview of relational databases and MySQL
- Overview of SQL
- Connecting to a database
- Querying a database
- Transactions
9. Forms
- Overview of forms and form elements
- Overview of how forms are submitted using POST and GET
- Processing data submitted from a form with PHP
10. Generating Images
- Overview of image formats
- Generating images automatically
- Using PHP to draw figures and to graph data
11. Session Control
- HTTP as a stateless protocol
- How cookies can be used to maintain a session
12. E-Commerce
- Overview of e-commerce web site design and implementation
- Examining a PHP driven E-Commerce web site implementation
At this time, this course is available for private class and in-house training only. Please contact us for any inquiries.