How to append content in a file?

What is appendfile() function? We can also use the fs module to append the content using appendFile function into a file. However, appendFile function will create the file if the file doesn’t exist or append the content into the file, if the file already existed. Let’s create a folder structure […]

What is Require function & how to export custom module?

In Node.JS, Every JavaScript file is its own module and So far we have been loading module using the require function. What is Require function? The require function is the part of common JavaScript module. But it is only half part and the other half of the part is module.exports […]

What is React context good for & how to use?

Before diving in what is React context? Let’s first understand why do we need it with an example. Let’s consider a scenario where we have 6 components A,B,C,D,E & F. some are the child components please refer the below image for better understanding. Here A,B & C are first level […]

What and how to use Readline?

Readline is a core module of NodeJS that is available to us without having to install anything other than NodeJS. It can be used ask/read data of a terminal user. Suppose we are creating an application that would ask questions from a terminal user. It is an interface where we […]

How To Fetch Rows And Columns From The Table?

Hi everyone 🙂 Hope you are doing great. Today we are going to learn about SQL Commands. The SQL commands are categorized into four categories; DQL DDL DML DCL Firstly we are getting to study DQL category commands; There are more easy-to-learn commands 😉 Let’s start! DQL (Data Query Language) […]

How To Make Text Input Field In React Native?

TextInput is React Native’s core component. It allows the user to take the input. There are many Props (properties) that make, TextInput useful for us. defaultValue : Used to show default value before value being changed by users. onChangeText : This allows the user to take a function i.e. called every […]

Does Fundamentals Of React Also Used In React Native?

Yes, React native runs on React. React is one of popular Open source Javascript library, used for building user interfaces with help of Javascript. There are some core concepts behind the React, those are also used in the React Native. Components: Components are like Java Script functions. It let us […]

How to use Super Variables in PHP?

Hey all, Today we are going to learn about PHP Super Global Variables and how can we use them. The Super global variables are those variables which can be access always. we can access these variable in any function, any file. There are the various type of PHP Super Global […]