Summary
PHP is popular open-source programming language that is ideal for quickly developing Web applications. PHP is a OO scripting language design to enable developers to create Web application.
Prerequisites
Module 1: Introduction What is PHP? What is a PHP File? Basic PHP Syntax “Hello World” Example
Module 2: PHP Syntax and Trivia Overview Where to Put the PHP? Comments Write Text Lifetime of Variables Primitive Datatypes Type Conversion Literals Integers Array Reference Datatype Conditional Statements If Statement If...else Statement The Switch Statement Arithmetic Operators Functions How to Define a Function Calling a Function Functions With Default Parameters Pass By Value Pass By Reference The return Statement PHP Loops The for Loop The while loop The do - while loop
Module 3: Introducing OOAD Defining OOAD Methodology The Analysis and Design Stage Defining the Analysis Phase Defining the Design Phase Characteristics of OOP Objects Classes Features of OOP Abstraction Encapsulation Association Aggregation Composition Inheritance Polymorphism Overview of Development Process Lifecycle of Projects Major Phases of Lifecycle of Projects The Inception Phase The Elaboration Phase The Construction Phase The Transition Phase Workflow Within Phases Benefits
Module 4: Classes And Objects Analysis and Design Classes and Objects Declaring Classes Declaring Attributes Declaring Methods Instantiating Objects Objects And References Copy References Copy Objects With clone Method Encapsulation Initializing Objects Using Getter And Setter Methods Magic get And set Methods Overloading Methods Declaring Constructors Constructing and Initializing Objects Examples Destructor References Method Invocation Variables Life Time and Scope The this Reference Constructor Invoking Another Constructor
Module 5: Inheritance Two Techniques Of Reuse Reuse Methods: “as-is” Reuse Methods” “Redefine” Single Inheritance Polymorphism Method Invocation Access Control The parent Keyword
Module 6: Advanced Class Concepts The final Keyword The static Keyword Singleton Design Pattern Abstract Class Abstract Method Interfaces Uses of Interfaces
Module 7: Arrays The PHP Arrays Numeric Arrays Adding Values to the End of an Array Traversing index based arrays Associative Arrays Traversing an associative array Assigning a Range of Values Getting the Size of an Array Removing and Inserting Elements in an Array Multidimensional Arrays Sorting Array- sort() function Sorting Array- asort() function Sorting Array- ksort() function Module 8: Accessing Database From the Web Working with Forms Accessing Input Data Example Accessing Form Variables Database Setup Connecting to the Database Executing SQL Statements From PHP Example 1 Example 2: Customer Project Data Access Object Pattern Example 3: CustomerDAO Project Model-View-Controller Architecture Example 4.
|