This PHP programming training course provides the knowledge necessary to design and develop dynamic, database-driven web pages using PHP version 5. PHP is a language written for the web, quick to learn, easy to deploy and provides substantial functionality required for e-commerce.
Class goals :
This course introduces the PHP framework and syntax, and covers in depth the most important techniques used to build dynamic web sites. Students learn how to connect to any ODBC-compliant database, and perform hands on practice with a MySQL database to create database-driven HTML forms and reports. E-commerce skills including user authentication, data validation, dynamic data updates, and shopping cart implementation are covered in detail. Students also learn how to configure PHP and the Apache Web Server. Comprehensive lab exercises provide facilitated hands on practice crucial to developing competence and confidence with the new skills being learned.
Content of PHP Programming
PHP Architecture
Installing and Configuring Apache for PHP
Name-Based Virtual Hosting
Installing and Configuring IIS
Configuring php.ini
Sending Output to a Browser
Using PHP Variables and Data Types
Defining Constants
Arithmetic, Comparison and Logical Operators
Concatenation
Conditional Statements in PHP (If, Else and Elseif , Switch)
Looping Constructs in PHP (While, Do… While, For, Exit & Break)
Declaring Functions
Predefined PHP Functions
Using Include Files
Working with Arrays
Creating Associative Arrays
One-Dimensional Arrays
Multi-Dimensional Arrays
String Manipulation Functions and Regular Expressions
Form Data Collection
Using Cookies
Starting, Continuing, & Destroying Sessions
Using Environment Variables
Using phpMyAdmin
Installing and Configuring MySQL
Executing SQLCalls
Debugging and Error Handling
Using ODBC
Accessing Files and Sending E-Mail
Uploading Files with PHP
Training PHP Programming
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …
This PHP programming training course provides the knowledge necessary to design and develop dynamic, database-driven web pages using PHP version 5. PHP is a language written for the web, quick to learn, easy to deploy and provides substantial functionality required for e-commerce.
In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice.
Class goals :
Learn how PHP works.
Learn the basic syntax of PHP.
Learn to create dynamic interactive pages with PHP.
Learn to manipulate files with PHP.
Learn to work with arrays in PHP.
Learn to validate forms with PHP.
Learn to write functions in PHP.
Learn to manipulate and manage database data with PHP.
Learn to authenticate users with PHP.
Learn to manage sessions with PHP.
Learn to work with the MDB2 package.
Learn advanced form validation with regular expressions.
Learn to send email with PHP.
Content of Training PHP / Introduction
Class Outline
PHP Basics
How PHP Works
The php.ini File
Basic PHP Syntax
PHP Tags
PHP Statements and Whitespace
Comments
PHP Functions
Hello World!
Variables
Variable Types
Variable Names (Identifiers
Type Strength
Hello Variables!
Variable Scope
Superglobals
Constants
Variable-Testing and Manipulation Functions
First PHP Script
PHP Operators
Creating Dynamic Pages
Single Quotes vs. Double Quotes
Passing Variables on the URL
Passing Variables via the Query String
Flow Control
Conditional Processing
If Conditions
Working with Conditions
Loops
while
do…while
for
break and continue
Working with Loops
Arrays
Enumerated Arrays
Initializing Arrays
Appending to an Array
Reading from Arrays
Looping through Arrays
Working with Enumerated Arrays
Associative Arrays
Initializing Associative Arrays
Reading from Associative Arrays
Looping through Associative Arrays
Superglobal Arrays
Working with Associative Arrays
Two-dimensional Arrays
Reading from Two-dimensional Arrays
Looping through Two-dimensional Arrays
Array Manipulation Functions
PHP and HTML Forms
HTML Forms
How HTML Forms Work
A Sample HTML Form
Form Variables
Processing Form Input
String Manipulation
Formatting Strings
Concatenation
String Manipulation Functions
Examples of String Functions
Working with String Manipulation Functions
Magic Quotes
magic_quotes_gpc
magic_quotes_runtime
Recommendation on Magic Quotes
Reusing Code and Writing Functions
Including Files
require
require_once
auto_prepend_file and auto_append_file
Adding a Header and Footer
User Functions
Defining and Calling Functions
Default Values
Variable Scope
By Reference vs. By Value
Form Processing
Code Organization
Form Validation and Presentation Functions
Managing Data
Querying a Database
mysqli() Overview
mysqli Methods and Properties
Inserting and Updating Records
mysqli Prepared Statements
Inserting Records
MDB2
Advantages and Disadvantages of MDB2
Why use a database abstraction layer?
When not to use a database abstraction layer?
Using MDB2
Creating a Customer Report
Authentication with PHP and SQL
A Database-less Login Form
Authenticating Users
Regular Expressions
Perl-compatible Regular Expression Functions
preg_match()
preg_replace()
Regular Expression Tester
Regular Expression Syntax
Start and End ( ^ $ )
Number of Occurrences ( ? + * {} )
Common Characters ( . d D w W s S )
Grouping ( [] )
Negation ( ^ )
Subpatterns ( () )
Alternatives ( | )
Escape Character ( )
Form Validation Functions with Regular Expressions
Session Control and Cookies
Sessions
Configuring Sessions
Session Functions
Cookies
Authentication with Session Control
Sending Email with PHP
mail()
Shortcomings of mail()
PHPMailer
Sending a Password by Email
File System Management
Opening a File
fopen()
Reading from a File
fgets()
Writing to a File
fwrite()
Writing to a File
File Locking
flock()
Uploading Files via an HTML Form
Getting File Information
More File Functions
Directory Functions
Getting a Directory Listing
Creating a Resume Management Page
Training PHP / Introduction
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …
In this advanced PHP training course, students will learn advanced features of the PHP web programming language. You will learn object-oriented PHP programming and how to use PHP to process XML and build Ajax applications.
Class goals :
Learn how to program in object-oriented PHP.
Learn to process XML with PHP.
Learn to work with PEAR modules.
Learn PHP Security techniques.
Learn to build to an e-commerce application with PHP.
Content of Training PHP / Advanced
Class Outline
Advanced PHP Techniques
Multidimensional Arrays
Advanced Function Definitions
The Heredoc Syntax
Using printf() and sprintf()
Developing Web Applications
Documenting Code
Code Style and Structure
Modularizing a Web Site
Affecting the Browser Cache
Advanced Database Concepts
Storing Sessions in a Database
Working with U.S. Zip Codes
Creating Stored Functions
Displaying Results Horizontally
Security Techniques
Remembering the Basics
Validating Form Data
Using PECL Filter
Authentication with PEAR Auth
Using MCrypt
E-commerce Techniques
E-commerce Concepts
Creating the Database
Creating the Configuration File
Making the Template
Creating the Index Page
Browsing by Category
Showing a Product
Implementing a Shopping Cart
Validating Credit Cards
Basic Object-Oriented Programming
OOP Theory
Defining a Class
Creating an Object
The $this Attribute
Creating Constructors
Creating Destructors
Autoloading Classes
Advanced OOP
Advanced Theories
Inheriting Classes
Inheriting Constructors and Destructors
Overriding Methods
Access Control
Using the Scope Resolution Operator
Creating Static Members
Abstract Classes and Methods
Real-World OOP
Catching Exceptions
Extending the Exception Class
Creating a Shopping Cart Class
Using the Cart Class
Using PEAR
Using Benchmark
Using HTML_QuickForm
Using Mail_Mime
Ajax
Introduction to Ajax
A Simple Example
Full-Fledged Ajax
Debugging Ajax Applications
XML and PHP
What Is XML?
XML Syntax
Attributes, Empty Elements, and Entities
Document Type Definitions
Parsing XML
Creating an RSS Feed
Training PHP / Advanced
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …
In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice. The class also covers SQL basics.
Class goals :
Learn how PHP works.
Learn the basic syntax of PHP.
Learn to create dynamic interactive pages with PHP.
Learn to manipulate files with PHP.
Learn to work with arrays in PHP.
Learn to validate forms with PHP.
Learn to write functions in PHP.
Learn to manipulate and manage database data with PHP.
Learn to authenticate users with PHP.
Learn to manage sessions with PHP.
Learn to work with the MDB2 package.
Learn advanced form validation with regular expressions.
Learn to send email with PHP.
Understand how MySQL works.
Learn to use SQL to output reports with MySQL.
Learn to modify MySQL data with SQL.
Content of Training PHP and MySQL
Class Outline
PHP Basics
How PHP Works
The php.ini File
Basic PHP Syntax
PHP Tags
PHP Statements and Whitespace
Comments
PHP Functions
Hello World!
Variables
Variable Types
Variable Names (Identifiers
Type Strength
Hello Variables!
Variable Scope
Superglobals
Constants
Variable-Testing and Manipulation Functions
PHP Operators
Creating Dynamic Pages
Single Quotes vs. Double Quotes
Howdy World!
Flow Control
Conditional Processing
If Conditions
Loops
while
do…while
for
break and continue
Arrays
Enumerated Arrays
Initializing Arrays
Appending to an Array
Reading from Arrays
Looping through Arrays
Associative Arrays
Initializing Associative Arrays
Reading from Associative Arrays
Looping through Associative Arrays
Superglobal Arrays
Two-dimensional Arrays
Reading from Two-dimensional Arrays
Looping through Two-dimensional Arrays
Array Manipulation Functions
PHP and HTML Forms
HTML Forms
How HTML Forms Work
A Sample HTML Form
Form Variables
String Manipulation
Formatting Strings
Concatenation
String Manipulation Functions
Examples of String Functions
Magic Quotes
magic_quotes_gpc
magic_quotes_runtime
Recommendation on Magic Quotes
Reusing Code and Writing Functions
Including Files
require
require_once
auto_prepend_file and auto_append_file
User Functions
Defining and Calling Functions
Default Values
Variable Scope
By Reference vs. By Value
Form Processing
Code Organization
Simple SELECTs
Introduction to the Northwind Database
Some Basics
Comments
Whitespace and Semi-colons
Case Sensitivity
SELECTing All Columns in All Rows
SELECTing Specific Columns
Sorting Records
Sorting By a Single Column
Sorting By Multiple Columns
Sorting By Column Position
Ascending and Descending Sorts
The WHERE Clause and Operator Symbols
Checking for Equality
Checking for Inequality
Checking for Greater or Less Than
Checking for NULL
WHERE and ORDER BY
The WHERE Clause and Operator Words
The BETWEEN Operator
The IN Operator
The LIKE Operator
The NOT Operator
Checking Multiple Conditions
AND
OR
Order of Evaluation
Subqueries, Joins and Unions
Subqueries
Joins
Table Aliases
Multi-table Joins
Outer Joins
Unions
UNION ALL
UNION Rules
Inserting, Updating and Deleting Records
INSERT
UPDATE
DELETE
Managing Data
Querying a Database
mysqli() Overview
mysqli Methods and Properties
Inserting and Updating Records
mysqli Prepared Statements
MDB2
Advantages and Disadvantages of MDB2
Why use a database abstraction layer?
When not to use a database abstraction layer?
Using MDB2
Authentication with PHP and SQL
A Database-less Login Form
Regular Expressions
Perl-compatible Regular Expression Functions
preg_match()
preg_replace()
Regular Expression Tester
Regular Expression Syntax
Start and End ( ^ $ )
Number of Occurrences ( ? + * {} )
Common Characters ( . d D w W s S )
Grouping ( [] )
Negation ( ^ )
Subpatterns ( () )
Alternatives ( | )
Escape Character ( )
Form Validation Functions with Regular Expressions
Session Control and Cookies
Sessions
Configuring Sessions
Session Functions
Cookies
Sending Email with PHP
mail()
Shortcomings of mail()
PHPMailer
File System Management
Opening a File
fopen()
Reading from a File
fgets()
Writing to a File
fwrite()
File Locking
flock()
Uploading Files via an HTML Form
Getting File Information
More File Functions
Directory Functions
Getting a Directory Listing
Training PHP and MySQL
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …
In this Ajax training course, students learn to make calls to the server with JavaScript and to manipulate XML content returned from the server. Ajax opens the door to creating sophisticated web-based applications with much more of the logic (and therefore code) is handled on the client.
Class goals :
Learn how Ajax works.
Learn to write cross-browser Ajax code.
Learn to use Ajax to make a call to the server without a page refresh.
Learn to modify content blocks on a page without refreshing the whole page.
Learn to use server-side form validation with Ajax.
Learn to move elements around the page with Dynamic HTML.
Learn to show and hide elements.
Learn to manipulate XML documents with JavaScript using the DOM.
Learn to manipulate XML documents with JavaScript using XSLT.
Learn to program in JavaScript using Object-Oriented techniques.
Learn to work with various JavaScript/Ajax libraries, such as Prototype, Scriptaculous, and Sarissa.
Content of Training Ajax with PHP
Class Outline
Ajax Basics
The Purpose of Ajax
Traditional Web Application
An Ajax Web Application
The XMLHttpRequest Object
Creating an XMLHttpRequest Object
Using an XMLHttpRequest Object
Handling the Response
Conclusion
Ajax Frameworks
The Purpose of Frameworks
Choosing a Framework
Dojo
Downloading Dojo
Using Dojo for Ajax
Prototype
Downloading Prototype
Using Prototype for Ajax
Other Popular Frameworks
Direct Web Remoting (DWR)
AjaxAnywhere
Simple Ajax (SAJAX)
Sarissa
Other Frameworks
Conclusion
The HTML Document Object Model
Accessing Nodes
Accessing Element Nodes
Accessing Attribute Nodes
getAttribute
attributes[]
Accessing Nodes by Type, Name or Value
Accessing Nodes by Class Name
Removing Nodes from the DOM
DOM Differences: The Whitespace Problem
Creating New Nodes
Conclusion
XML and Ajax
Creating a DOM Document with JavaScript
Accessing, Creating and Modifying XML Nodes
Creating an AddChild() Function
Receiving XML Responses
Conclusion
Ajax Applications
Login Form
Quick Lookup Form
Preloaded Data
Ajax Slideshow
Navigable Tables
Conclusion
OO JavaScript and Refactoring Ajax
Illustrating the Problem
Object-Oriented JavaScript
JavaScript Classes
Prototypes
Extending Built-in Objects
Refactoring the Ajax Request Code
Conclusion
JavaScript Object Notation (JSON)
Object Literals
Arrays
Objects
Arrays in Objects
Objects in Arrays
JSON
JSON Syntax
JSON Parsers
PHP JSON Extension (added in PHP 5.2)
PEAR JSON
ZEND JSON
JSON Advantages and Disadvantages
Conclusion
XSLT Transformations with JavaScript
XSLT
Basic XSLT
XSLT in the Browser
XSLT in Internet Explorer
XSLT in Mozilla
Sarissa
Advantages and Disadvantages of XSLT in Ajax Applications
Conclusion
Drag and Drop
Drag and Drop Basics
script.aculo.us
Draggables
Droppables
A More Interesting Example
Conclusion
More Ajax Applications
Inline Editing
Detailed Information on Demand
Autologout
Autocompletion
Conclusion
Training Ajax with PHP
Onze voordelen :
Type of training: Inter-company, intra-company and individual
100% flexible & personalised training : You choose the place, the dates and the training program
Offer request : Response within 24 hours
50% discount for SME’s from Brussels-Capital Region
Free parking, lunch & drinks
Free use of our Digital Competence Centre: Manuals, courses, exercises, …