PHP
SYLLABUS
Introduction
to PHP
·
PHP Introduction
·
PHP Inventions and Versions
·
PHP in LAMB Programming and Open
Source programming
·
How PHP work with frontend and backend
·
Application which can be created using PHP
·
XAMPP, WAMP , and MAMP server installation on operating system like
window xp , window 7 ,ubuntu ( linux operating system
)
·
Important tools and software require ( like Editors , Web Server ,
Database, Important Iibraries Etc….)
PHP
Basics Syntax :
·
PHP Opening and closing Tags (<?php, ?>)
·
PHP Shorthand Tag (<? , ?>)
·
PHP echo tag for printing
·
PHP print tag printing
·
PHP Documentation for further study
PHP Variables , Global Array and Expressionb :
·
Types of data in PHP : integers , stringd,
floating data , Booleans , arrays etc…
·
PHP constant and variables
·
Difference between PHP variables and constant with example
·
Important Rules for declaring PHP variables
·
PHP Global arrays ( $_SERVER , $_POST, $_GET , $ POST , $_REQUEST,
$_SESSION , $_COOKIE )
PHP Operators
·
PHP Arithmetic Operators
·
PHP Assignment Operators
·
PHP Incrementing /Decrementing Operators
·
PHP Relational (Comparison) operators
·
PHP Logical operators
·
PHP Array operators
·
PHP Bitwise operators
·
PHP Error Suppression operators
·
PHP Ternary operators
·
PHP Default operators
·
PHP Associative operators
·
PHP MOD operators
·
PHP operator Precedence and Associativity
PHP
Conditional Events and Switch ease
·
PHP IF Condition with optional Else
·
PHP IF and Else with Condition and example
·
PHP Multiple IF with else Condition
·
TRUE and FALSE test with Condition
·
PHP Nested IF and Else Condition
·
PHP Nested if Mod Operator
·
PHP IF Condition with Ternary Operator
·
Identify Odd and Even no with IF and Else
·
Flow Diagram For Nested IF and simple IF Condition
·
Alternative For Nested IF
·
PHP Switch case in
replacement of nested IF
·
Default case in Switch case
PHP
Flow Control and Loops :
·
PHP while Loop
·
PHP for Loop
·
PHP Do While Loop
·
PHP Goto
·
PHP Break Keyword
·
PHP Continue Keyword
·
PHP exit Keyword
PHP Function , PHP Function with Argument :
·
Understand what is function
·
Advantage of function over Statements
·
PHP of Function declaration with Example
·
PHP Function Calling
·
PHP Function with arguments
·
Default arguments in Function
·
Types of arguments in Function
·
Function argument with call by value
·
Function argument with call by reference
·
Function with Return keyword
·
Scope of Function Global and Local
·
Recursive Function
·
Types of Function (e.g. Static Function)
PHP Array , Types of Array , Foreach Loop
·
Understand the need of Array
·
Difference between Array and Varibles
·
How to define an Array and When to use
·
What is an index in array
·
How to store value in array using index
·
How and when to use arrays
·
One – Dimensional Array
·
Multi – Dimensional Array
·
Extract Array Value using index
·
What is Foreach loop in PHP?
·
Extract Array using For each
loop
·
For each loop with key and without key definition
PHP
String Manipulation and Regular Expression
·
String function like subst() to extract certain charaters
·
Use of trim() Function to avoid trailing spaces and leading spaces
·
strtolower() and strtoupper() Function
for string case conversion
·
Format output using print() , sprint() Function
·
Use of addslashes () and stripslashes() Function to handle sensitive
characters like quotes
·
extract tag from give sting using strip_tags() function
·
What is Regular expression in PHP ?
·
Use and advantage of regular exspression over inbuilt Function
·
Use of preg_match ()Function in regular
expression
·
Use of preg_replace() Function in regular
expression
·
Use of preg_split() Function in regular
expression
PHP Global Array :
·
$_POST
·
$_GET
·
$_REQUEST
·
$_COOKIE
·
$_SESSION
·
$_SERVER
·
$_FILES
PHP Session and COOKIE in Depth :
·
What is a session and why it is required?
·
Understand the basice of session with
browser example
·
Intization session_id() with practical
example
·
Check availability of session variable with isset()
function
·
PHP session_destory() function
·
PHp
·
PHP unset() Function to remove data from session variables
·
cookie as local variables
·
setcookie() function with different properties
·
Retrieving PHP cookies
·
Expiring/Deleting PHP cookies
·
Drawbacks to cookies
·
Cookie Security //issues
PHP Object Oriented Programming in Depth
:
·
What is Class in PHP
·
Define Class and Initialization of class
·
Create an object of class
·
PHP access specifier : private , Protected and public in OOPS
·
Inbuilt Object in PHP class ( $this Object)
·
Encapsulation in PHP Object Oriented programming
·
Final class in OOPS
·
Abstract class in OOPS
·
PHP5 inheritance
·
Scope resolution Operator(::) in PHP
·
Parent Keyword in PHP OOPS
·
Self Keyword in PHP OOPS
·
This Keyword in PHP OOPS
·
PHP OOPS Inbuilt Properties and methods in
PHP strin