Object Oriented Programming in PHP

Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.It organizes the data and structure of an application. Here in this tutorial, you will learn about basic OOP … Continue reading Object Oriented Programming in PHP

PHP Operator precedence

The precedence of an operator specifies how "tightly" it binds two expressions together. In general, operators have a set precedence, or order, in which they are evaluated. Certain operators have higher precedence than others; for example, the multiplication operator has higher precedence than the addition operator. For example, in the expression 8 + 5 * 2, … Continue reading PHP Operator precedence

PHP Magic constants

PHP provides a large number of predefined constants to any script which it runs. Magic constants have a funny syntax, placing two underscores before and after the constant's word representation. There are nine magical constants that change depending on where they are used. For example, the value of __LINE__ depends on the line that it's … Continue reading PHP Magic constants

HTML5 article Element

The name itself is quite self explanatory, but let’s see how the official documentation describe it: “A self-contained composition in a document, page, application, or site and that is, in principle, independently distributive or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, … Continue reading HTML5 article Element

Introduction to Bootstrap

What is a Framework ? A software framework provides a standard way to build and deploy applications. A software framework is a universal, reusable software environment that provides particular functionality as part of a larger software platform to facilitate development of software applications, products and solutions. What is Bootstrap ? Bootstrap is a popular framework … Continue reading Introduction to Bootstrap

Types of sets

In this tutorial I will discuss the different types of sets. Finite set: A set which contains finite number of elements is known as finite set. Consider the following examples: A={a,b,c,d} B={1,5,8,34,78} Infinite set: A set which contains infinite number of elements is known as infinite set. Consider the following examples: N={1,2,3,4,.........} I={.......,-3,-2,-1,0,1,2,3,........} Singleton set: … Continue reading Types of sets