Skip to content

Developer Prospect

  • My Portfolio
  • My WordPress Plugins
  • About Me
  • Contact Me
  • Questions & Answers
    • Ask A Question
    • QA Account

Tag: oop php

PHP

How to autoload classes using spl_auotolad_register method in PHP?

hazrarupam February 10, 2018February 10, 2018

This post regarding how to autoload classes in PHP without included require method. Some rules you have to follow. 1) The file name must be the class name. Like if you declare a class like SampleClass then your file name should be the same name. 2) If you declare a namespace then your folder name

Read more → 
PHP

What is Namespaces and how it is used?

hazrarupam August 3, 2017August 4, 2017

Namespaces are one of the most significant changes in PHP 5.3.Namespaces are a way of encapsulating items. As the size of your PHP code library increases, the more likely you will accidentally reuse a function or class name that has been declared before. The problem is exacerbated if you attempt to add third-party components or

Read more → 
PHP

What is Traits and How it is used?

hazrarupam August 1, 2017August 1, 2017

Traits are one of the biggest addition in the PHP 5.4. In PHP trait is the method of code re-usability.As we know PHP is single inheritance programming language.As per my opinion, the main intention of introducing the trait in PHP is to reduce limitation of code re-usability in PHP single inheritance nature.  The structure of

Read more → 

Recent Posts

  • Music Player using Python
  • Create a custom directive on angular 2.
  • Set angular 2 dynamic page title
  • How to create and use of a custom component to angular Js 2 ?
  • Make secure contact form from Spam Robot

Recent Comments

    Archives

    • August 2018
    • June 2018
    • May 2018
    • February 2018
    • January 2018
    • December 2017
    • August 2017
    • July 2017

    Categories

    • Angular JS 2
    • CodeIgniter
    • Database
    • htaccess
    • Jquery
    • Laravel
    • Mysql
    • Mysqli
    • PHP
    • Python
    • Wordpress

    Tags

    angular 2 (2) angular js (2) Codeigniter (3) Conact Form 7 (1) custom link (1) database (3) HMVC (1) htaccess (1) Javascript (3) Jquery (3) Laravel 5.4 (2) mysql (3) oop php (3) php (7) php 7 (1) python (1) SEO (1) seo clean url (1) WordPress (8)