Tag Archives: blogging

Depth First Search (DFS) – Graph Traversal

Table of contents Definition Conceptual Implementation Java Code & Explanation Applications of DFS   Definition Depth First Search (DFS) is an algorithm for traversing Graph Data Structure. The algorithm starts at some arbitrary node in the graph and explores as far as possible along each branch before backtracking. Stack Data structure is needed to keep Continue Reading »

HOISTING IN JAVASCRIPT (Variables & Function)

A Person with another programming background is definitely confused with hoisting in Javascript. So let’s deep dive into the hoisting in javascript The Javascript engine creates the global execution context when we execute a piece of Javascript code. Global Execution Context has two phases : (i) Creation Phase (ii) Execution Phase Definition: During the creation Continue Reading »

What is Performance Testing?

So performance testing is one of the most important phases of any product launch as it verifies and validates the overall product performance. Performance Testing can be done in different forms depending upon the resource availability and the type and volume of the user base. The main agenda behind conducting performance testing on any product Continue Reading »

Recursion vs Dynamic Programming — Fibonacci

Introduction of Recursion and Dynamic Programming: Recursion is the process in which a function calls itself until the base cases are reached. And during the process, complex situations will be traced recursively and become simpler and simpler. The whole structure of the process is tree-like. Recursion does not store any value until reaching the final Continue Reading »

Express.js

What is Express.js? Express.js is a Node.js framework that is the most popular framework. It is a web application framework that provides you with a single API to build websites, web apps, and the back end.  Why do we actually need Express.js? How is it useful for us to use Node.js? Node.js is all about Continue Reading »

RTM

The Requirement Traceability Matrix (RTM) is a document that identifies and tracks users’ needs through test cases. It captures all client requirements and tracking requirements in a single document, delivered at the end of the Software Development cycle. The main purpose of the Requirement Traceability Matrix is to ensure that all requirements are assessed using Continue Reading »

Debouncing in JavaScript

Debouncing in JavaScript Debouncing is a technique, use of Denouncing we can write better performance code that gets executed repeatedly within a period of time Debouncing ensures that time is taken to task, debouncing prevent unnecessary event on the web Debouncing code ignores unnecessary calls until the call has stopped for a particular time period. Continue Reading »

Currying in JavaScript

Currying is a task that takes one argument at a time and brings back a new task awaiting the next argument. It is a modification of functions that translate function from callable as f (a, b, c) to f (a)(b)(c). In this article, we will look at what currying is in Javascript, why you should Continue Reading »

Hoisting in javaScript

Hoisting is a phenomenon in javaScript by which you can access variables and functions even before you have initialized them or you have put some value on them. you can access it without any error. Hoisting allows functions to be safely used in code before they are declared. for Example: var x=7; function getName(){ console.log(“hoisting Continue Reading »

Destructuring in JavaScript

The Destructuring introduced new features of ES6.JavaScript provides a mechanism to handle the array and properties of objects in a much more innovative way. this mechanism is called destructuring. destructuring means implies a complex structure into the simpler parts. Destructuring allows us to extract multiple properties from an object or an Array. It is a Continue Reading »

Triggers in MySQL

A trigger is a stored program that gets invoked automatically whenever any event such as insertion, update, or deletion occurs in a table. For instance, whenever we add a new row or delete a row, we can define a trigger that gets triggered automatically through which we can be assured of the proper happenings of Continue Reading »

 JavaScript Closures

A closure is a combination of a function bundled together (enclosed) with references to its surrounding state (the lexical scope). Lexical scoping The stance of a variable asserted in the source code denotes its scope in syntactic figuring. For example: let name = ‘John’; function greeting() {     let message = ‘Hi’;     console.log(message + Continue Reading »

Dark Mode in iOS

Dark Mode was revealed at WWDC 2019 and debuted with iOS 13. It gives iOS a darker look. The appearance of Dark Mode is determined by trait collections. When a user modifies the system’s look, the system requests that all windows and views redraw their contents. Without any additional logic, UIKit controls support it out Continue Reading »

Higher-Order Components

Higher-Order Components are what they sound like. A function that takes a component and returns a replacement component is an example of a higher-order component. Higher-Order Components in React may be a pattern that stems from React’s nature, which favors composition over inheritance. Consider the following scenario: In the preceding example, a higher-order component could Continue Reading »

CORS – React JS

CORS stands for Cross-Origin Resource Sharing. It is basically a mechanism that uses HTTP headers to tell the browser whether a specific web app can share resources with another web app or not. Here Both the web apps should have different origins because if they have the same origin then they can share the resources Continue Reading »

SonarQube Code Review Tool

Basic Documentation SonarQube is an automatic code review tool to detect bugs, vulnerabilities, and code smells in your code. It can integrate with your existing workflow to enable continuous code inspection across your project branches and pull requests. Overview In a typical development process: Developers develop and merge code in an IDE (preferably using SonarLint Continue Reading »