solarex

REACT. JS ( part 1)

React is a JavaScript library for creating user interfaces, but what does “JavaScript library” really mean? A JavaScript library is a set of pre-written codes in JavaScript that makes building great web applications easier and faster. Before fully diving into React, you need to have a basic understanding of JavaScript. The most basic JavaScript concepts …

REACT. JS ( part 1) Read More »

R FUNCTION

A function is a block of code which only run when it is called. A function can return data as a result. For Example: my_function<-function (“Hello, “World”) Output: “Hello, World” In this example, In this case, the function is called with the argument “Hello, World”, and it prints that value to the console using the …

R FUNCTION Read More »

Variables

R Global and Local Variables R Global Variable In the context of the R programming language, a global variable is a variable that is defined outside of any function or block of code. Unlike variables defined within functions, global variables are accessible and modifiable from any part of the R script or session. It is …

Variables Read More »

R Data Types

R Data types relate to the many classes of values that variables can hold. R is a dynamically typed language, which means that you don’t have to explicitly declare the data type of a variable when you create it; R will infer the data type based on the value you assign to it. Here are …

R Data Types Read More »

       STRUCTURED QUERY LANGUAGE (SQL)

                                                                                HOW TO CREATE DATABASE To create database locally, firstly, you have to install a server on your device. e.g.  Wamp server or xamp server. Let’s install wamp server on our computer and follow the following steps to create a database; By following the steps above, you have created a Database successfully. HOW TO CREATE …

       STRUCTURED QUERY LANGUAGE (SQL) Read More »

FUNCTION IN PHP

Function helps in reusability of code.  Function is generally used instead of repeating code. For Example; Another example is cited below; Find area of CIRCLE using PHP Note:  After function name is parenthesis “(  )” , inside parenthesis is argument. Arguments are the ingredients or variables that are inside the parenthesis , the number of …

FUNCTION IN PHP Read More »

VARIABLE SCOPE IN PHP

There are 3 types of Variable Scope in PHP. They are listed below; Local Variable:                                 A local variable is any variable within a function curly brace ’{}’. For Example; $x is a local variable in the example above as it can only be assessed within a function. Static Variable:                                 A static variable is …

VARIABLE SCOPE IN PHP Read More »