PHP
=====
* Course Id : PROG-PHPT
* Duration : 32 Hours
Overview
—–
* PHP is a general-purpose scripting language
* PHP works well for server-side web development
* Any PHP code requested by a browser is executed by the PHP runtime and HTML is generated
* PHP is usually used to create dynamic web page content or dynamic images used on websites
Pre-Requisites
—–
* Basic knowledge of HTML/CSS
* Able to use text editors
* Aware of HTTP concepts
Training Objectives
—–
All participants learn to:
* Use PHP for file processing
* Create and process HTML forms in PHP
* Send email via PHP
* Handle cookies
* Enable security
* Perform data encryption
Course Structure
—–
* We provide more focus on hands-on in our technical courses (typically 80% hands-on/20% theory)
* Students get the capability to apply the material they learn to real-world problems
Materials Provided
—–
* PDF of slides and hands-on exercises
* Access to instance with lab environment
Software Requirements
—–
* Any current internet browser
Hardware Requirements
—–
* Processor: 1.2 GHz
* RAM: 512 MB
* Disk space: 1 GB
* Network Connection with low latency (<250ms) to Internet
## Daywise Course Outline
—–
## Day 1
—–
* Unit 1 : Introducing PHP
* Unit 2 : Decisions and Loops
* Unit 3 : Functions
## Day 2
—–
* Unit 4 : String proccessing in PHP
* Unit 5 : Working with Arrays
* Unit 6 : File processing
## Day 3
—–
* Unit 7 : HTML Features
* Unit 8 : RE processing
* Unit 9 : Working with images
## Day 4
—–
* Unit 10 : Persistence
* Unit 11 : OOP in PHP
* Unit 12 : Exception handling
## Detailed Course Outline
——
Unit 1 : Introduction to PHP
—–
* Language features
* Keywords
* Syntax
Unit 2 : Decisions and Loops
—–
* Doing Repetitive task with looping
* Mixing Decisions and looping with Html
Unit 3 : Functions in PHP
—–
* What is a function
* Define a function
* Call by value and Call by reference
* Recursive function
Unit 4 : String processing in PHP
—–
* Creating and accessing String
* Searching & Replacing String
* Formatting String
* String Related Library function
Unit 5 : Working with Arrays
—–
* Anatomy of an Array
* Creating index based and Associative array
* Accessing array Element
* Looping with Index based array
* Looping with associative array using each() and foreach()
Unit 6 : File processing
—–
* Understanding file& directory
* Opening and closing a file
* Coping ,renaming and deleting a file
* Working with directories
* Building a text editor
* File Uploading & Downloading
Unit 7 : HTML Features
—–
* Using query string(URL rewriting)
* Using Hidden field
* Using cookies
* Using session
Unit 8 : RE processing
—–
* What is regular expression
* Pattern matching in Php
* Replacing text
* Splitting a string with a Regular Expression
Unit 9 : Working with images
—–
* Basics of computer Graphics
* Creating Image
* Manipulating Image
* Using text in Image
Unit 10 : Persistence
—–
* Introduction to RDBMS
* Connection with MySql Database
* Performing basic database operation(DML) (Insert, Delete, Update, Select)
* Setting query parameter
* Executing query
* Join (Cross joins, Inner joins, Outer Joins, Self joins.)
Unit 11 : OOP in PHP
—–
* Introduction
* Objects
* Declaring a class
* The new keyword and constructor
* Destructor
* Access method and properties using $this variable
* Public ,private, protected properties and methods
* Static properties and method
* Class constant
* Inheritance & code reusability
* Polymorphism
* Parent:: & self:: keyword
* Instanceof operator
* Abstract method and class
* Interface
* Final
Unit 12 : Exception Handling
—–
* Understanding Exception and error
* Try, catch, throw
