Quantcast
Channel: JavaScript Archives - Java Code Geeks
Browsing all 98 articles
Browse latest View live

JavaScript Check if Variable is a Number Example

1. Introduction JavaScript is referred to as a dynamically typed language. What that means is that the language has data types but variables can hold values of different data types at different points...

View Article


Spring with Rails’ jQuery UJS

I’ve always wanted to try to see if I could use Rails’ jQuery UJS in a Spring Boot project. The UJS in jquery-ujs stands for unobtrusive JavaScript. I really like how UJS wires event handlers to...

View Article


Throttling MQTT Data

Introduction Most MQTT brokers currently available on the market provide native support for WebSockets, thus enabling any MQTT JavaScript library to establish communications by encapsulating MQTT...

View Article

Selenium Automation Testing with Disabled JavaScript Settings; Is It Worth...

Selenium has been a pinnacle for open-source software in the industry of automated website testing. The automation testing framework is widely adopted by the testing community to help them in...

View Article

How to replace jQuery with VueJS

In this post, we feature a comprehensive article on How to replace jQuery with VueJS. If you’re from the IT industry, then you might already know about all the hype that VueJS has gained lately. But,...

View Article


Difference Between Java and JavaScript

1. Introduction We look at the comparison of Java vs JavaScript languages in this article. JavaScript was developed by Netscape. It was initially a scripting language for client-side and later used as...

View Article

Step-by-Step Guide to JavaScript Localization

In this post, we take a step-by-step look at localization using JavaScript. We let the user choose the language to display the page in. This gives the user the maximum amount of freedom with respect to...

View Article

Retry In The Future

Writing asynchronous code in Javascript is relatively easy. // async function let attempt = 1; while (true) { try { const result = await operationThatMayFail(); // it didn't fail return result; } catch...

View Article


Routing in Express.js

Hello in this tutorial, we will understand how to handle routing in a Node.js application running on an Express.js server. 1. Introduction To set up Node.js on windows you will need to download the...

View Article


Express.js Sessions Tutorial

Hello! In this tutorial, we will explain the Express.js sessions. We will understand how to manage sessions in a Node.js application. HTTP is a stateless protocol and to manage sessions in a Node.js...

View Article

Express.js Cookies Tutorial

Hello in this tutorial, we will understand Cookies and implement them in an Express.js application. 1. Introduction Cookies are a piece of any information sent from the server and are stored in the...

View Article

Express.js File Upload

Hello! In this tutorial, we will learn about Express.js File Upload. More specifically, we will handle the file upload in the node.js application. To perform the file upload we will use a simple...

View Article

TagUI: an Excellent Open Source Option for RPA – Introduction

Today I want to introduce TagUI, an RPA (Robotic Process Automation) Open Source tool I am using to automate test scenarios for web applications. It is developed and maintained by the AI Singapore...

View Article


Create Node.js Web Server

Hello. In this tutorial, we will create a simple node.js web server and handle the HTTP requests. The node.js framework is commonly used to create server-based applications which are further used to...

View Article

Quick Guide To Kick Start The Test Automation with Selenium and JavaScript

Testing is an important phase of the Software Development Life Cycle(SDLC) where the primary agenda is to uncover maximum bugs and dig out the missing requirements for successful product release. To...

View Article


How to close a React Native modal with a button

I’ve been working with React Native lately, and I’ve come across a few unimplemented features I needed to add to the basic components. One of those components is the React Native Modal component that...

View Article

Readable and Writable Streams in Node.js

Hello. In this tutorial, we will explain readable and writable Streams in a Node.js application. 1. Introduction Streams in the node are the objects that help you to write and read data to and from the...

View Article


HTTP POST Request in Node using Axios

Hello. In this tutorial, we will understand and see a practical implementation of the HTTP POST Request with Axios in the express js application. 1. Introduction Axios is a promise-based HTTP client...

View Article

Using the EJS template in the node.js application

Hello. In this tutorial, we will understand and see a practical implementation of ejs template in the nodejs and express js application. 1. Introduction ejs or Embedded Javascript Templating is a...

View Article

Url shortener in node.js

Hello. In this tutorial, we will take a look at implementing the url shortener in the nodejs application with the help of mongodb. I will be using the mlab portal for creating and managing the mongodb....

View Article
Browsing all 98 articles
Browse latest View live