Understanding SQL Injection Attacks
Understanding SQL Injection Attacks is very paramount to building a secure web application. SQL injection is an attack in which SQL code is inserted or appended into application/user input parameters…
Understanding SQL Injection Attacks is very paramount to building a secure web application. SQL injection is an attack in which SQL code is inserted or appended into application/user input parameters…
SSL stands for Secure Sockets Layer. It provides a secured and encrypted layer of privacy to web applications. SSL can provide for transport-layer encryption, so that an intermediary between the…
It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS? In fact, one might think…
We generally encounter striped design in most websites, magazines and flyers. But a diagonal stripe in CSS? How is that even possible? Yes, it is possible and we are not…
WebView is essentially a component that is used to load a web pages in your React Native project. WebView sometimes become necessary in your software development project, especially when you…
Function parameters in PHP are small units of a program which can take some input in the form of parameters and does some processing and may return a value. You…
An array is a data structure that stores one or more similar type of values in a single value. For example, if you were to store 100 numbers, then instead…
Sessions in PHP are a way to make data accessible across the various pages of an entire website. It is a useful way of both storing and passing data across…
In our previous example, we saw how we can create a registration form using Node.js and MySQL. Using that same setup, let us proceed to authenticate the user after he…
A registration form is used to collect data from potential users of your website. This is necessary, especially if you want these users to subscribe to a certain service in…
Modules are generally set of functions that you can include in your application. These could be built-in functions that are part of the Node.js library or imported from a third-party…
Created by a Joyent software engineer Ryan Dahl in 2009, Node.js is an open-source and cross-platform runtime environment for creating almost any kind of project. Before the creation of Node,…
REST stands for REpresentational State Transfer. REST is a system that allows users to request information from a server via an API and then receive appropriate responses in different data…
Inheritance is an important concept in Object Oriented Programming. Inheritance is the process whereby one class, also called the sub-class, acquires the properties and methods of another class, also known…
Object Oriented Programming (OOP) is a way of writing code such that you can create different objects (also called "instances") from a common blueprint. Each created instance has properties that…
Introduced in ES6 as a major update to the Object Oriented Programming concept in Javascript, Classes are templates for creating objects. Classes can also referred to as the "syntactic sugar"…
In JavaScript, null, undefined, and not defined are three distinct concepts that refer to different values or states. In this article we shall look at null, undefined and not defined…
Callback functions, Promises, and Async Await are concepts fundamentally used by JavaScript to handle deferred operations. Sometimes an operation could be synchronous (blocking) or asynchronous (non-blocking). Let us take a…
In React Native, an ActivityIndicator displays a loading circular mark which signals to the user that a task is being performed or a network request is being made. Using ActivityIndicators…
What is a POST Request? The POST request is part of the Http methods which is used as a request protocol between a client and a server. A POST method…
The componentDidMount() lifecycle method is called immediately after a component is mounted or, in simple terms, when that particular component or page is in use or in focus or in…
As a software developer, there are times when you may need to set background image for your application based on the app requirements, React Native allows you to set background…
The React Library allows you to define components either as classes or functions. These components allow you to split your UI into independent, reusable pieces, and help you think about…
React Native's AsyncStorage provides a light storage system where you can both store and retrieve stored items. But what happens when you no longer need these items in the storage?…
Usually in Java when we work with numbers, we will represent these numbers with any of the available primitive data type, such as int, byte, long, short, double, float. Example…
When working with React, in this case React Native, there are times when you might need a value to be globally accessible by a particular component and you, for some…
The rest parameter is an ES6 syntax that is used to represent an indefinite number of elements as an array. See arrays in Java Example function add(...elements){ let sum =…
The AsyncStorage presents a simple and elegant way for React Native developers to store and retrieve data. We've already covered what AsyncStorage is and how data can be stored. Now…
The AsyncStorage lets you store some reasonable amount of data on users' device. Let's see how we can make that demonstration: The first thing is to add AsyncStorage to your…
According to the React Native docs, AsyncStorage is an unencrypted, asynchronous, persistent key-value storage system that is global to the app. This means that data stored in AsyncStorage can be…
Java provides the StringBuffer and String classes. The String class is used to manipulate character strings that cannot be changed. To put it simply: objects of type String are read…
The XMLHttpRequest is a Javascript object that is used to interact with web servers. The XMLHttpRequest() is a Javascript function that makes it possible for developers to fetch XML data…
If you are writing a web application, there is every possibility that at some point you will have to work with external data. This can be data from your own…
A switch statement gives an expression a value to evaluate and several different statements to execute based on the value of the expression. It is a useful alternative to the…
Web browsers generally have consoles, which are interactive command lines where you can print text and test pieces of code. This is where, for the most part, you'll be debugging…
Pure Functions A pure function in Javascript is one that given the same input will always return the same output and does not have any observable side effect. This means…
In a return statement in Java, we evaluate expressions, and as part of this evaluation, other methods may run in the process and types must match otherwise an error occurs.…
Modifiers are keywords that are added to variables, methods and classes to change their meaning. There are two (2) types of modifiers: Access modifiersNon-access modifiers Access Modifiers There are four…
A loop statement allows the programmer to execute a statement or group of statements multiple number of times, based on the given conditions. Let's take a look 4 types of…
Given the amount of security breaches that go on everyday, there is hardly any security-conscious developer (or any developer for that matter) that will say that security isn't important. In…
Arrays refer to a sequential collection of elements of the same type. It is used to store a collection of data. Unlike Javascript where an array can hold many elements…
Throw Throw is a keyword that is used in Java to declare an exception which is similar to the try/catch block. It is used to declare an explicit exception inside…
Unlike logical operators which connect two or more expressions, relational operators test and establish some type of relation between two or more operands. There are six (6) relational operators, which…
Template literals allow for embedded expressions and help to solve the complex concatenation problem. They are enclosed by a back-tick character (the button just below the escape key on your…
Network scanning is the process of identifying, analysing and fixing loopholes and vulnerabilities in a network to prevent a malicious attacker from gaining access to your network system. For a…
The box shadow property in CSS is used to cast shadow on the frame of elements. It has the following syntax: -webkit-box-shadow /* Safari, iOS */ -moz-box-shadow /* Firefox */…
A function is a group of reusable code that can be called anywhere in your program. Functions eliminate the need of writing the same code again and again. Functions also…
React Native is an open-source mobile application framework created and developed by Facebook, Inc. It is used to develop native applications for Android, Android TV, iOS, macOS, tvOS, web, windows…
Inheritance in programming is the process whereby one class (also called a sub-class) acquires the properties (methods, fields, etc) of another (in this case a super class) using the extends…