Framework Training

Code

php1

Scheduled Dates

10 Jun 2013
9 Sep 2013
2 Dec 2013
17 Feb 2014

Scheduled Address

Framework Training Ltd

Business Environment Group
150 Minories
London
EC3N 1LS

UK

More about our London Training Centre

Experience Level

intermediate

Days

4

Price per person

£1895 +VAT

Course description

PHP is an industry-accepted scripting language that you can find in use on many major commercial web sites. There are a number of frameworks and platforms designed to speed up the process of developing and deploying web apps, from blogs and wikis to full-blown Customer Relationship Managers (CRM).

Our Introduction to PHP Programming is designed to get you up to speed developing data-driven web applications using PHP and MySQL from scratch, which will allow you to write your own functionality into your web apps, and have more control over your code.

This course focuses on the fundamental skills required: PHP language & syntax, displaying information from a database (MySQL) in the browser, getting user input with Web Forms, and writing data back to MySQL.

What you will learn

  • PHP Language and Syntax Fundamentals
  • Setting up your development environment
  • How to serve up PHP pages
  • Regular expressions and text handling
  • Database connecitivity
  • PHP Flow Control
  • Introduction to Object Oriented Programming in PHP
  • Error Handling & Debugging

Who should attend

Web Developers and Programmers who want to be able to hand-code data-driven web applications using PHP 5.x.

Prerequisites

Experience of writing markup such as HTML and/or XML, and ideally some experience of programming in a scripting language such as JavaScript. Object-Oriented Programming experience would be useful but is not mandatory.

PHP Training Course Syllabus

Introduction to PHP

PHP Architecture and what you can do with it
Getting ready to to develop
Hands-on installing PHP, Apache & MySQL on Windows or Linux
Popular code editors

PHP Language and Syntax fundamentals

Language conventions
Variables & Data Types
Constants

Data-driven functionality

Forms and User Input
Control Structures
-If, Else, If-Else
-While, Do-while
-For
Creating Functions
Using Parameters

Writing your first "Hello World" in PHP

Using Regular Expressions

Strings
Strings Manipulations
Arrays
Iterating
Array Indexing
Array Content

Connecting to Databases

Data Source Names (DSN)
PHP Data Objects (PDO)
SQL querying with PDOs
Displaying the results
Exiting gracefully

PHP Exception Handling

Creating a custom exception handler
Terminating Statements
Reporting

Introduction to Object Oriented programming in PHP

Reusability of code
Overview of Objects & Classes
Encapsulation
Inheritance

Working with XML

PHP XML Parser
Creating and using XML
Consuming Web Services in PHP

AJAX and JSON in PHP

Writing simple AJAX functionality
What is JavaScript Object Notation?
Declaration with curly brackets
Integers, Strings, Arrays, Booleans