Array Examples in PHP

The following list provides a few Array Examples in PHP. Create an Indexed array and display its elements using both for loop as well as foreach loop. When do we use associative array rather than an indexed array? Create a program to demonstrate how to create an associative array. Find the sum of elements of …

Installing WAMP Server

This article on Installing WAMP Server provides instructions on installing WAMP server on Windows. Step By Step Instructions on Installing WAMP Server on Windows To begin with, first of all download the WAMP Server from its website. According to the configuration of your PC, you can either choose 64 BITS download or 32 BITS download. …

Understanding PHP Syntax

In this article on Understanding PHP Syntax, I will explain how to write simple programs in PHP. Also, you will learn how to create variables in PHP, data types, operators, and expressions. A Simple Program for Understanding PHP Syntax The following code shows a simple program to display text in PHP. Output The above code …

Control Statements in PHP

In this article on Control Statements in PHP, I will cover conditional control statements and iteration control statements. Understanding Control Statements in PHP In fact, a control statement in a programming language alters the normal sequence of execution of statements in a program. Normally, a language compiler executes the statements of a program in the …

Brief Introduction to PHP

In this article on Brief Introduction to PHP, I discuss the features and drawbacks of using PHP. Introduction to PHP Programming In fact, PHP is a web-based programming language. PHP stands for hypertext preprocessing. Furthermore, we use PHP to create dynamic web applications. Although, PHP is easy to learn and use, it gives us all …

Important Concepts in NodeJS

The following list provides some of the Important Concepts in NodeJS that every programmer should know. Modules in NodeJS NodeJS File System Events Node Package Manager (NPM) Callbacks Asynchronous I/O (Non-Blocking I/O) Promises Prototypes Brief Introduction of Important Concepts in NodeJS The following section provides a brief introduction of the above-mentioned concepts. Modules In fact, …

Understanding NodeJS With Examples

In this article on Understanding NodeJS With Examples, I will explain this server-side JavaScript runtime environment along with some examples. To begin with, let us first discuss the features of the node.js framework. Basically, Node.js is built on chrome’s V8 engine. It is open-source. It is a back-end JavaScript runtime environment and can execute JavaScript …

Getting Started with Solidity

In this article on Getting Started with Solidity, I will explain the Solidity programming language to create smart contracts. Basically, Solidity is a high-level, contract-oriented programming language that we use to write smart contracts on the Ethereum blockchain. In order to start with Solidity, follow these steps. Steps for Getting Started with Solidity At first, …