PHP Training

CURRICULUM FOR PHP

INTRODUCTION TO PHP

  • What is Web?
  • Introduction to PHP for Web Development & Web Applications
  • History & Future Scope of PHP
  • What is Web?
  • Introduction to PHP for Web Development & Web Applications
  • History & Future Scope of PHP
  • Benefit & Importance of PHP in web applications
  • Installation of tools for working in PHP like XAMPP, WAMP for PHP, Apache & MySQL

LANGUAGE BASICS

  • Introduction to Language constructs like Variables:
  • Naming Variables
  • Assigning and Displaying Variable Values
  • Creating variables
  • Displaying variable values
  • Writing Your First Script That Uses Variables
  • Using Variable Variables
  • Removing VariablesUnderstanding Data Types
  • Assigning data types
  • Type casting
  • Type Juggling
  • Introduction of PHP Keywords Comments, Operators & Expressions: (Arithmetic, Assignment, Comparison, Logical Operators)
  • String & echo, print for outputting in web page: string functions
  • Working with flow control through Control Statement: if-else, if-else ladder.
  • Using Loop Statement like for, for each, do while, while, switch case, go to, and continue.

PHP FORMS

  • GET / POST / REQUEST
  • Using html controls in web page
  • Master/Child Page Concept

MYSQL DATABASE CONNECTION

  • Creating Database & Tables/ privileges /creating users
  • Using Database Queries for accessing & manipulating data from database
  • Opening Database Connection/closing database connection
  • Select/Insert/delete & Update Database from forms.

ARRAYS

  • What is an Array?
  • Creating and Working with Arrays
  • Creating arrays
  • Viewing arrays
  • Modifying arrays
  • Removing values from arrays
  • Sorting ArraysWalking through an Array
  • Traversing an array manually
  • Using foreach to walk through an array
  • Finding Array Size
  • Converting Arrays into Strings (And Vice Versa)
  • Converting Variables into Arrays (And Vice Versa)
  • Splitting and Merging Arrays
  • Exchanging keys and values
  • Multidimensional Arrays
  • Creating multidimensional arrays
  • Viewing multidimensional arrays
  • Using multidimensional arrays in statements
  • Walking through a multidimensional array
  • Built-in PHP Arrays

PHP FUNCTIONS

  • Defining functions
  • Using variables in functions
  • Passing values to a function
  • Returning a value from a function
  • Using built-in functions
  • Defining User functions
  • Passing parameter(Call By Value & Call By Reference) & return value
  • Trends of PHP Functions(Missing Parameter, Formal parameter declaration)
  • Importing content of one page into another(include & require)

STATE MANAGEMENT

  • The anatomy of a cookie.
  • Setting a cookie with PHP.
  • Deleting a cookie
  • Working with the query string
  • Creating query string.
  • What is session.
  • Starting a session.
  • Working with session variables.
  • Destroying session
  • Passing session Ids.
  • Query String

ERROR & EXCEPTION HANDLING

  • Introduction to Exception handling: Using Try/catch/throw
  • Creating Custom exception

OBJECT ORIENTED PROGRAMMING

  • Classes, Object & Constructor & Destructor
  • Introducing Object-Oriented Programming
  • Objects and classes
  • Properties
  • Methods
  • Object-oriented concepts PHP 5
  • Developing an Object-Oriented Program
  • Using objects
  • Selecting properties and methods for each object
  • Defining a Class
  • Using $this
  • Adding methods
  • Destroying Objects
  • Using Access Specifier (public, private & protected)
  • Encapsulation, Inheritance, Abstraction
  • Abstract Class, Interface, Traits
  • Magic Methods

FILES INPUT/OUTPUT

  • File Streams(Input, Output, Temp)
  • Creating and deleting a file.
  • Reading and writing test files.
  • Checking for existence of file.
  • Determining file size.
  • Opening a file for writing, reading or appending.
  • Writing data to the file.
  • Reading characters.

CONTROLS WITH DATABASE CONNECTION

  • Submitting & showing data to/from web controls from/to database
  • Uploading files to server/ upload form /upload script
  • Sending emails/ email script