Custom Helper functions in Laravel

In this post, we gonna create custom functions and load it in the Laravel project. These functions can be accessible all over the project. Loading custom helper functions in Laravel is pretty straightforward. Let’s […]

Connect to Salesforce with Node.js

In this post, we gonna make a connection to Salesforce with Node.js and we will update the Salesforce Objects. We will use node-salesforce npm module to authenticate with Salesforce. So let’s install it. Let initialize […]

Generate a PDF from HTML with puppeteer

In this post, we gonna use Puppeteer to generate PDF files from HTML. With Puppeteer we can also generate screenshots. What is Puppeteer? The documentation says: Puppeteer is a Node library that provides a high-level API […]

Remove Empty Array Elements and reindex in PHP

The built-in array_filter() the function removes all the empty elements, zeros, false and null values from an array. This function uses a callback function to filter the array values. If no callback function is specified, […]

JavaScript – find And findIndex

The Array.prototype.findIndex() and Array.prototype.find() methods are useful to search the provided array. The findIndex() method returns the index of the first element in the array that satisfies the provided testing […]

JavaScript – Optional chaining (?.)

Optional chaining allows you to safely access the nested object properties. In general, to access the nested object properties you must and should check the object and it exists otherwise you may get a type error. Using […]

JavaScript – Nullish coalescing operator (??)

The nullish coalescing operator (??) is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined and otherwise returns its left-hand side operand.


JavaScript – Logical assignment operators

Logical assignment operators are new compound assignment operators that combine the logical operations &&, ||, or ?? with assignment

Note that, unlike mathematical and bitwise compound […]

Javascript – replaceAll

String.prototype.replaceAll provides an easy way to replace all occurrences of a substring without creating a global RegExp.

I hope you like this Post, Please feel free to comment below, […]

How to develop REST API with Deno

In this tutorial, we gonna use Attain to create REST API with Deno. Attain is a middleware web framework for Deno which is using http standard library inspired by express and Oak and it is Fast and stable with proper memory […] Protection Status