PHP

PHP

PHP is an open source server-side scripting language designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data. The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. It has also evolved to include a command-line interface capability and can be used in standalone graphical applications

INTRODUCTION TO PHP
PHP Fundamentals

  • 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 Variables
  • Understanding 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.

ARRAYS

 

  • What is an Array?
  • Creating and Working with Arrays
  • Creating arrays
  • Viewing arrays
  • Modifying arrays
  • Removing values from arrays
  • Sorting Arrays
  • Walking 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)



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