Web Development Tutorials & Protips

How to encrypt and decrypt data in Node.js

Learn how to encrypt and decrypt strings, numbers, buffers, and streams by using Node.js built-in crypto module.

Node.js

How to access data in Thymeleaf templates

Learn how to access Spring model attributes, request parameters, session attributes, and Spring beans in Thymeleaf templates.

Spring BootThymeleaf

How to check if a variable is an object in JavaScript

A quick article to learn how to check if a variable is an object in vanilla JavaScript.

JavaScript

Understanding Object.assign() Method in JavaScript

A complete guide to JavaScript Object.assign() method. Learn how to use to create new objects from existing objects as well as merge multiple objects.

JavaScript

How to remove a property from an object in JavaScript

A quick article to learn how to remove a property from an object in JavaScript.

JavaScript

How to add a key-value pair to an object in JavaScript

A short article to learn how to add a new item to an object in JavaScript.

JavaScript

How to compare two objects using JavaScript

A quick guide to learn how to compare two objects in JavaScript to check if they contain they same key-value pairs.

JavaScript

4 ways to clone objects in JavaScript

A detailed article to learn about different ways to create a shallow as well as a deep copy of an object in JavaScript.

JavaScript

How to merge two objects in JavaScript

A detailed article to learn about different ways to combine properties of two objects into a new object in vanilla JavaScript.

JavaScript

6 ways to create an object in JavaScript

Learn about different ways to create an object in JavaScript like object literal syntax, constructor function, Object.create() method, Object.assign() method, and ES6 classes.

JavaScript

ES6 Object Literal Property Value Shorthand in JavaScript

Learn how to use the object literal property value shorthand to create an object in JavaScript.

JavaScript

How to populate an array with zeros or objects in JavaScript

A quick article to learn how to populate an array with numbers, strings, or objects using ES6 Array.fill() method in JavaScript.

JavaScript

How to convert arguments object to an array in JavaScript

A quick guide to learn how to convert the arguments object available inside a function to an array in JavaScript.

JavaScript

Understanding Array.from() Method in JavaScript

A detailed article to learn about the Array.from() method in JavaScript and how to use it to create a new array from an array-like or iterable object.

JavaScript

How to add, remove, and replace items using Array.splice() in JavaScript

A complete guide to learn how to use the Array.splice() method in JavaScript to add, remove, or replace elements in an array.

JavaScript

How to lowercase or uppercase all array values in JavaScript

A quick article to learn how to uppercase or lowercase all values in an array using JavaScript.

JavaScript

5 ways to check if an array contains a value in JavaScript

A comprehensive article to learn about different ways to check if an array contains a specific item in vanilla JavaScript.

JavaScript

How to deep clone an array in JavaScript

A quick guide to learn about different ways to create a deep clone of an array in vanilla JavaScript.

JavaScript

How to use object & array destructuring in JavaScript

Learn how to use the ES6 destructuring expression in JavaScript to extract values from arrays or properties from objects into distinct variables.

JavaScript

How to remove items from an array in JavaScript

A complete guide to learn about different ways to remove elements from an array in JavaScript.

JavaScript

✨ Learn to build modern web applications using JavaScript and Spring Boot

I started this blog as a place to share everything I have learned in the last decade. I write about modern JavaScript, Node.js, Spring Boot, core Java, RESTful APIs, and all things web development.

The newsletter is sent every week and includes early access to clear, concise, and easy-to-follow tutorials, and other stuff I think you'd enjoy! No spam ever, unsubscribe at any time.