PHP With Laravel Framework

Introduction to PHP with Laravel

PHP is a server-side scripting language having several frameworks, for instance, Laravel, Symfony, Phalcon and CakePHP etc. The fundamental functioning of these frameworks is to assist in the promotion of rapid application development (RAD). Laravel is chosen preferably by most of the developers over any other Frameworks considering the compatibility and steady pace it offers to its user. Laravel is a free and open source framework based upon model-view-controller which lets developers build smooth web applications. Laravel allows users to access relational database in a different and easy manner by featuring dynamic modular packaging system with dependency manager. Also, the source code for Laravel is facilitated under Github. Since Laravel covers so many features that it enables any novice in PHP to take a great head start.


Related Courses

Python

Graphics Designing

Web Design

Course Outline

PHP Basics

  • Introduction to web Technology
  • Introduction to HTML5 and CSS
  • PHP introduction
  • PHP syntax
  • PHP Data Types
  • PHP Variables ,Constants and Array
  • PHP Operators and Control Statements
    • if else statement
    • else if statement
    • switch case
    • Loops
      • while
      • do while
      • for
      • foreach

PHP Form

  • HTML Form
  • Form elements
  • HTTP verbs and methods
  • File Upload
  • Form handling with file upload
  • Super global Variables
    •  $_SERVER,
    • $_REQUEST,
    • $_POST,
    • $_GET,
    • $_FILES,
    • $_SESSION,
    • $_COOKIE
  • Session and Cookie
  • Implementation of session and cookie in code

PHP Function

    • Introduction
    • Types:
      • Pre-defined /In-built
      • User defined/ Custom
    • Function parameters (With or without and conditional parameters)
    • Arguments by value and reference
    • Returning values from a function
    • Working with Some useful functions
      • Date and time
      • include and require

    Templating using include and require

Database

  • Introduction To Database
  • What is RDBMS technology?
  • Understanding Database, Tables, Fields
  • Introduction to SQL (Structured Query Language)
  • Using Database Management tools (phpMyAdmin/ MySQL Workbench etc.) to handle database
  • Creating and managing database
  • Selecting Database
  • Creating Tables
  • Auto Increment and Indexing a columns in tables
  • Inserting Data into tables in different ways via query
  • Updating Data and Table Structure
  • Selecting from table in different ways
  • Deleting tables and drop database

Object Oriented PHP Constructs

  • Introduction to oop
  • Creating and Defining Class in PHP
  • Instantiating a class
  • Constructors and Destructors
  • Class constants
  • Attributes and methods
  • Member visibility: Access Modifiers / Specifiers
  • Inheritance
  • Overrides
  • OOP Keywords (Class Autoload, Static & Final Keywords)
  • Preventing a Class from Inheritance( final keyword)
  • Exceptions

Object Oriented Implementation and MVC

  • Modules (Modularizing a web Application)
  • File structure / Code file organization
  • Design pattern and Introduction
  • The singleton Patterns
  • The factory Design patterns
  • Model / View /Controller Design Pattern implementations

Database Operations Advanced Topics

  • Creating Primary, Index and Unique Keys
  • Primary Key, Foreign Key Relationship and Mapping
  • Maintaining Foreign Key Constraints
  • Joins and Types of JOINS with examples
  • Prepared Statements
  • PHP Data Objects (PDO)
  • Transactions
  • Patterns in database design

PHP Standards

  • Basic Coding Standards (PSR1, PSR2)
  • Logger Interface and Standard
  • Autoloading and autoloading standard
  • Caching interface and standard
  • Messaging interface and standard

Web Services

  • Web Services
  • Data Formats
  • Parsing APIs
  • Introduction to RESTFUL Services
  • Handling JSON in php
  • Parsing JSON
  • JSON encoding / decoding

Try/Catch Exception Handling

  • Using Try & Catch blocks
  • The Exception Object
  • Multiple Catch Blocks
  • Default Exception processing

Error Handling And Debugging Techniques

  • PHP Error Handling
  • Error Logging and Reporting
  • Creating Custom Error Handlers
  • Suppressing Errors
  • PHP Debugging Methods
  • Using Debugging Tools (xdebug)
  • Creating Conditional Debug Code

Javascripts and Jquery Basics

  • Introduction to JavaScript
  • Data types, operators, conditions
  • Events, function
  • Array and Objects
  • jQuery Syntax, Events
  • Some jQuery functions
  • jQuery Syntax and Events
  • jQuery Effects
  • jQuery Selectors and Traversing
  • jQuery Custom Functions
  • jQuery load, get, post
  • jQuery Ajax

Web API's

  • Social Media apis
    • Facebook
    • Google
  • Email Api (PHP mailer)

GIT Version Control System Basics

  • Push content / download
  • See version / traverse through older versions

Composer

  • Composer files
  • Composer.phar
  • Composer.json
  • Important composer commands
  • The “vendor” directory

NPM and Browser

  • Package Management Tool For Web

Installing and Setting Up Laravel and Supporting Tools

  • Introduction to Laravel
  • Concept of Composer
  • Install & Use of Composer
  • Installing Laravel using composer
  • Install & Use of open source distributed version control system GIT
  • Concept & Use of gitlab for hosting GIT repositories
  • Configuring Laravel
  • Project Structure
  • Setting up Development and Debugging Tools

Laravel Architectural Concept

  • Request Life cycle
  • Gives knowledge of how Laravel actually works.
  • Facade
  • Provides an easy way of accessing application class and libraries.
  • Service Providers in Laravel
  • Service providers are the central place of all Laravel application bootstrapping.

Routing

  • Basic Routing
  • Named Routing
  • Grouped Routing
  • Routing Parameters
  • Handling Invalid Routes
  • Route filtering with Middleware
  • Restful Routing

Controllers

  • Introduction
  • Basic Controllers
  • Restful Resource Controllers
  • Controller Routing
  • Controller Middleware

Requests

  • Handling Request Info.
  • Request Inputs
  • Form Inputs
  • Old Inputs
  • Files

Response

  • Attach Headers and Cookie to response
  • Response with View
  • Response with JSON
  • Response with File

Database

  • Introduction
  • Migration
  • Schema Building
  • Migration Structure
  • Running Migration
  • Writing Migration
  • Seeding
  • Database Configuration
  • Running Raw SQL queries

Model

  • Eloquent ORM
  • Defining Model
  • Retrieving Model
  • Insert & Update Model
  • Deleting Model
  • Eloquent Relationship
  • One to One
  • One to Many
  • Many to Many

View

  • Passing data to view
  • Sharing data to all views
  • Blade Template Engine
  • Introduction
  • Template Inheritance
  • Displaying Data
  • Implement Control Structures

Laravel Forms And HTML Component

  • Installation
  • Generating form
  • CSRF Protection
  • Form Elements
  • Labels
  • Text, Text Area, Password & Hidden Fields
  • Check-boxes and Radio Buttons
  • File Input
  • Number Input
  • Date Input
  • Drop-Down Lists
  • Buttons
  • Custom Form Macros

Laravel Services

  • Authentication our application
  • Authorization using Policies ~ Role based panel access
  • Introduction
  • Configuring Auth Library
  • Creating authentication system using Middleware
  • Artisan Console
  • Exception Handling and Error Logging
  • Mail
  • Configuring & sending mail
  • Pagination
  • Session
  • Validation
  • Validation approaches
  • Validation Rules with associating messages
  • Custom Rules with associating custom messages
  • Laravel Socialite ~ Registrtion & Login with 3rd party ( FB, Google, Github etc )
  • WebPack ~ Building assets

Restful API with Laravel

  • Concept of API, why and scope of implementation
  • Restful API setup, Basic project
  • Tools ~ Postman Tool

Web Services And Web Hosting

  • CPanel
  • Introduction to FTP
  • How to use FileZilla, CPanel with examples

Project Work

Students must complete a project.