Understanding Interface in Object Oriented PHP (Published in tisuchi.com)

You may heard about Interface in Object Oriented PHP Programming. But have you ever asked yourself that, what exactly interface? How it work? Or what is the functionality? As a php developer, why you have to bother about it?


Well, if you have that kinds of questions in you mind, you may be lucky that this tutorial is for you. This writing is totally dedicated to understand Interface in OO PHP. What exactly interface do? Lets see…


What is Interface?

An interface is a contract between unrelated objects to perform a common function. Literally it guarantor for users to ensure that it is capable to perform all the functions of object that is defined specification. For example, cricket bat and football are totally different things in terms of shape and size, but in object representing those items in a sporting goods store inventory must be capable of interacting with that system.

It is very important to understand that, by declaring an interface and then implementing it in objects, can be hand completely different classed to common functions.


To know more, visit http://tisuchi.com/understanding-interface-object-oriented-php/



How to use PHPExcel library (Published in tisuchi.com)

There is no doubt that, PHP Excel Library is a super doper library for mastering on Excel document by PHP language. Personally I prefer to use PHP excel library to manipulate data with excel. Let’s take a look how can we use that sublime library in PHP.

Download PHP Excel Library

Go to following links for downloading. You may choose any source to download.

Although they have different download options, but I prefer to download from official page. After downloading successfully, extract downloaded zip folder. Now go inside extracted folder and sure enough you will get Classes folder. Now copy everything from classes folder and past in yourdesire folder (normally it is in your localhost). For example, I am using xampp in C drive and created a new folder called php in htdocs. So my url should be c://xampp/htdocs/php/. It can be different in your pc. Now time to browse your your file (PHPExcel.php). Based on my directory, my url should be like follows- http://localhost/php/PHPExcel.php. And sure enough that you will not get anything in browser.



To read more visit 

How to use PHPExcel library

Create HTML form with PHP Class ( Reposted from tisuchi.com)

This section would be very simple task for OOP with PHP developer. Although it could be very good foundation for beginner of Object Oriented Programming in PHP. In this tutorial, I am going to explain how to create HTML form by using PHP class. Its a very straight forward class that will generate few HTML form elements by calling particular function. Let’s see…

 Download from Github Demo

For implementing this tutorial, I am using 2 separate files of PHP. One is specifically dedicated for declaring class and another is representing the object of that class. There is nothing fancy in this tutorial. Its a very clean HTML form example.

To know more, visit 

Create HTML form with PHP Class

How to install Brackets (Reposted from tisuchi.com)

What exactly Brackets? Why designers and developers are concern about it in 2014? How it will affect in web coder? How to install Brackets in windows? These could be the basic question in your mind while you are listening more and more about brackets.

Well, behind the story of Brackets code editor is pretty simple. Brackets is an Open Source code editor for web designers and front-end developers. It will help you to write your code with more flexibility as well as workflow.   Brackets is an open source code editor for web designers and front-end developers. Brackets is an open source code editor for web designers and front-end developers.

This is very common question that, why we have to learn Brackets instead of many well established code editor? i.e. dream weaver, sublime text, vim etc. Yes, you have totally rights to know this answer before going to start.

brackets tutorail from tisuchi.com

To know more, visit 

How to install Brackets

Using webcam with PHP language (Published on tisuchi.com)

This is a quite funny things that, using webcam with PHP language. I am pretty sure that, many of programmers are interested to integrated webcam with php script but don’t know how to do that. Well, it is not difficult to integrate. Let’s dig into php code that how easily we can do that.

One of my articles has been published on tisuchi.com tutorial site. If you are interested to know more, please visit following link.


How to Install Composer in Windows (Published on tisuchi.com)

While from novice to professional, developers are concern about composer, then it is playing vital role in PHP world. What exactly composer and why programmers are bothering about this? Well, in this case, Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries in your project needs and it will install them in your project for you. Before that, php had PEAR, while it has some limitations, composer has been trying to solve all the limitations of PEAR and fixed that issues. Now, question is, how to Install composer in windows? Well, it is a major question sometimes for new comer while it is bit confusing.

One of my articles has been published on tisuchi.com tutorial site. If you are interested to know more, please visit following link.