Overview
Courses Benefits
This course provides the foundations for you to start writing PHP applications. You will learn the basics of the PHP language, processing web forms, as well as advanced concepts like Object-Oriented PHP. Course 221 has been updated for the latest version of PHP - version 5.
You Will Learn How To
- Write effective, efficient PHP scripts
- Use the Zend Studio IDE
- Embed PHP scripts in HTML pages to create dynamic Web pages
- Manipulate data from Web page forms
- Track users as they navigate your site with sessions and other PHP features
- Structure PHP code using user-defined functions and external libraries
- Write object-oriented PHP applications
- Develop database-enabled Web applications using MySQL
- Create MVC-based applications using Laravel Framework
Who Should Attend
Course Outline
Introduction to PHP
- Introduction
- PHP Tags
- Variables
- Data Types
- Operations
- Control Structures
- Forms
Program Flow Control
- Decision Control Structures
- Repetition Control Structures
- Branching Statements
Arrays
- Numerically Indexed Arrays
- String Indexed Arrays
- Multi-Dimensional Arrays
- Array Manipulation Functions
Strings
- Strings and Character Indexes
- String Length
- String Comparison
- Formatting Strings
- Finding and Replacing Substrings
- Splitting and Joining Strings
- HTML Encoding
Processing Forms
- GET vs POST
- Accessing Form Variables
- Processing Form Elements
Functions
- Defining Functions
- Passing Parameters
- Variable Scope
- Returning Values
- Require() and include()
Session Control
- URL Rewriting
- Hidden Fields
- Cookies
- Sessions
- Garbage Collection
Working with MySQL
- Setting up a Database Connection
- Choosing a Database to Use
- Inserting Data
- Querying the Database
- Reviewing the Query Results
- Updating Records
- Deleting Records
- Disconnecting from the Database
Object-Oriented PHP
- Declaring Classes
- Creating Objects
- Accessing Attributes
- Calling Class Methods
- Constructors and Destructors
- Static Members
- Inheritance
- Member Visibility
- Abstract Classes and Methods
- Declaring and Implementing Interfaces
Regular Expressions
- Basic Concepts
- Finding Substrings
- Replacing Substrings
- Splitting Strings
Error Handling
- Error Levels
- Handling Errors
- Handling Exceptions using try/catch
- Subclassing Exceptions
Other Useful PHP Features
- Data and Time Functions
- Sending Mail from PHP Scripts
- Page Redirection
- Uploading Files
- Altering the Runtime Environment
- Formatting the HTML Output
Introduction to Laravel Framework
- What is Laravel Framework
- The MVC Design Pattern
- Quickstart