codeflare

React Native: ActivityIndicator

In React Native, an ActivityIndicator displays a loading circular mark which signals to the user that a task is being…

4 years ago

React Native: Make a POST Request Using Fetch

What is a POST Request? The POST request is part of the Http methods which is used as a request…

4 years ago

React Lifecycle Methods: ComponentDidMount

The componentDidMount() lifecycle method is called immediately after a component is mounted or, in simple terms, when that particular component…

4 years ago

React Native: How to add Background Image

As a software developer, there are times when you may need to set background image for your application based on…

4 years ago

Getting Started With React Native: Create a Class Component

The React Library allows you to define components either as classes or functions. These components allow you to split your…

4 years ago

React Native: Remove Item From AsyncStorage

React Native's AsyncStorage provides a light storage system where you can both store and retrieve stored items. But what happens…

4 years ago

Number Class in Java

Usually in Java when we work with numbers, we will represent these numbers with any of the available primitive data…

4 years ago

React Native: Working With State

When working with React, in this case React Native, there are times when you might need a value to be…

4 years ago

Javascript: Rest Parameters

The rest parameter is an ES6 syntax that is used to represent an indefinite number of elements as an array.…

4 years ago

Retrieve Data From AsyncStorage

The AsyncStorage presents a simple and elegant way for React Native developers to store and retrieve data. We've already covered…

4 years ago

React Native: Store Items in AsyncStorage

The AsyncStorage lets you store some reasonable amount of data on users' device. Let's see how we can make that…

4 years ago

React Native: Working With AsyncStorage

According to the React Native docs, AsyncStorage is an unencrypted, asynchronous, persistent key-value storage system that is global to the…

4 years ago

To Reverse A String: StringBuffer in Java

Java provides the StringBuffer and String classes. The String class is used to manipulate character strings that cannot be changed.…

4 years ago

Working With XMLHttpRequest

The XMLHttpRequest is a Javascript object that is used to interact with web servers. The XMLHttpRequest() is a Javascript function…

4 years ago

Working With Fetch API

If you are writing a web application, there is every possibility that at some point you will have to work…

4 years ago

Switch Case

A switch statement gives an expression a value to evaluate and several different statements to execute based on the value…

4 years ago

Debugging Your Javascript Code

Web browsers generally have consoles, which are interactive command lines where you can print text and test pieces of code.…

4 years ago

Pure And Impure Functions in Javascript

Pure Functions A pure function in Javascript is one that given the same input will always return the same output…

4 years ago

Return Statements in Java

In a return statement in Java, we evaluate expressions, and as part of this evaluation, other methods may run in…

4 years ago

Access Modifiers in Java

Modifiers are keywords that are added to variables, methods and classes to change their meaning. There are two (2) types…

4 years ago

Looping in Java

A loop statement allows the programmer to execute a statement or group of statements multiple number of times, based on…

4 years ago

5 Habits of a Security-Conscious Developer

Given the amount of security breaches that go on everyday, there is hardly any security-conscious developer (or any developer for…

4 years ago

Working With Arrays in Java

Arrays refer to a sequential collection of elements of the same type. It is used to store a collection of…

4 years ago

Throw And Throws Exception in Java

Throw Throw is a keyword that is used in Java to declare an exception which is similar to the try/catch…

4 years ago

What are Relational Operators?

Unlike logical operators which connect two or more expressions, relational operators test and establish some type of relation between two…

4 years ago

Template Literals

Template literals allow for embedded expressions and help to solve the complex concatenation problem. They are enclosed by a back-tick…

4 years ago

Logical Operators

“Programs must be written for people to read, and only incidentally for machines to execute.” — Harold Abelson, Structure and Interpretation…

4 years ago

5 Network Scanning Tools

Network scanning is the process of identifying, analysing and fixing loopholes and vulnerabilities in a network to prevent a malicious…

4 years ago

Box shadows in CSS

The box shadow property in CSS is used to cast shadow on the frame of elements. It has the following…

4 years ago

Working With Functions

A function is a group of reusable code that can be called anywhere in your program. Functions eliminate the need…

4 years ago

Beginning With React Native

React Native is an open-source mobile application framework created and developed by Facebook, Inc. It is used to develop native…

4 years ago

Inheritance in Java

Inheritance in programming is the process whereby one class (also called a sub-class) acquires the properties (methods, fields, etc) of…

4 years ago

Exceptions in Java

An exception is a problem that arises during the execution of a program. When an exception occurs, the normal flow…

4 years ago

Arithmetic Operators

Arithmetic operators are used in mathematical expressions much the same way they are used in algebra. Here's a list of…

4 years ago

What Are Cookies?

We've all been harassed with the following request: This website uses cookies ... Please accept to continue ... Oh yeah!…

4 years ago

Arrow Functions

Arrow functions, also called "fat arrows" were introduced with ES6 as a new syntax for writing Javascript functions. By utilising…

4 years ago

Array Filter Method

The Array filter method is used to check against a given condition.

4 years ago

Recursive Functions

A recursive function is one which defines a problem in terms of itself. A recursive function calls itself directly or…

4 years ago

Object Oriented Programming

Object oriented programming is a way of writing code such that different objects (instances) are created from a single object…

4 years ago

Human Attacks on Web Applications

Humans can use technologies in either harmful or helpful ways. And while, as a software developer, you are legally not…

4 years ago

What is ES6?

Also known as ECMAScript 6, ECMAScript 2015 or Javascript 6, ES6 is a version of Javascript that was introduced in…

4 years ago

What Are Recursive Functions?

A recursive function is one which defines a problem in terms of itself. A recursive function calls itself directly or…

4 years ago

Differences Between var, let and const.

Var Declaration Before the introduction of ES6 in 2015, var was the go-to way to declare variables in Javascript. Example:…

4 years ago