Codeigniter MVC Framework PHP

About Codeigniter

About Codeigniter Codeigniter was created by EllisLab, and is now a project of the British Columbia Institute of Technology. CodeIgniter is a powerful PHP MVC framework with a very small footprint; it is powering the next generation apps, built for developers who need a simple and elegant toolkit to create full featured web applications. Codeigniter […]

JavaScript Script

What is JavaScript ?

What is JavaScript ? JavaScript is scripting language. It’s used of HTML and Web. JavaScript and Java both are completely different languages, in concept and design. JavaScript was invented by Brendan Eich in 1995, and became an ECMA standard in 1997. ECMA-262 is the official name of the standard. ECMAScript is the official name of […]

Java

What is Encapsulation ?

What is Encapsulation ? Encapsulation in java is an important concept, its one of four oops pillar. Encapsulation is process of wrapping code and data together into a single unit. Encapsulation is also known as Data binding and Data Hiding. Advantages of Encapsulation: Data Hiding. Code Flexibility. Code Reusability. Example public class Employee { int […]

Java

What is Polymorphism ?

What is Polymorphism ? Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic. […]

Java

What is Inheritance ?

What is Inheritance ? Inheritance is a process where a class can aquire properties of another class ie methods and fields. A class who inherits or extend the properties of other class is known as subclass, derived class or child class and the class whose properties are inherited or extended is called as superclass, base […]

Java

What is an abstraction?

What is an abstraction? In object oriented programming language abstraction is concept where function or variable declare but not define and can’t create an instance. If you want to use you must be extend the class. In java abstract methods or functions don’t have the body, only declaration. An abstract class is declare with the […]

Java

What Is Java?

What Is Java? Java is an object oriented programming language (OOPs). It is used to develop secure software for worl wide web (www). It is internet queen. class A{ public static void main(String args[]){ System.out.println(“This is my first program in java”); } } Note : Java program must be start with a class, class start […]

Core PHP PHP

PHP Variables

A variable is a name which contains values or information PHP variables: PHP variable starts with “$” sign. PHP variable name must start with a alpha letter. PHP variable name cannot start with a numeric value and underscore “_”. PHP variable name can only contain alpha, numeric and underscores value (A-z, 0-9, and _ ). […]

Core PHP PHP

PHP Operators

PHP Operators are do some thin between one or more variables or values. Following is PHP operators: Operator Precedence Arithmetic operators Assignment operators Bitwise Operators Comparison operators Error Control Operators Increment/Decrement operators Logical operators String operators Array operators Type Operators PHP Operator Precedence   Precedence as name suggest its prform on the basiss of priority […]

Core PHP PHP

PHP Basic Syntax

PHP Basic Syntax PHP starts and end tags PHP starts with <?php and end with ?> <?php // Write PHP code here ?> Default files extension for PHP is “.php”. PHP files can contains HTML tags, and PHP code.   PHP print types PHP can print in 3 types 1. “echo” to output the text […]