Asynchronous Apex
Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations
MongoDB Driver Not Found
Problem – Getting “Class ‘MongoDB\Driver\Manager’ not found” error while inserting some data in the collection (Laravel) Check the following three points in order to resolve the MongoDB driver issue in Laravel: 1. PHP Module 2. MongoDB Extension 3. MongoDB Library
Methods of Debugging – PHP
Methods of Debugging by dumping information These methods are used for debugging in PHP. We can see the variable values in human-readable form on the console and can find errors in case there are issues due to variables incorrect values.
Bootstrap Templates, Grid System and Media-queries
Bootstrap Templates, Grid System and Media-queries What is Bootstrap? Bootstrap is a powerful toolkit. It is a set of HTML, CSS, and JavaScript tools for making and building websites and internet applications. It is a free and open-source project, hosted
Collections in C#
Collections in C# Arrays Arrays are useful for creating and working with a fixed number of strongly typed objects. Problem with Arrays: 1. Fixed length 2. Insert similar data type elements Collections Collections are used to create and manage groups
Authorization Attribute Validation Issue
Authorization attribute validation Issue: 404 status code is returned instead of 401 status code In my application, I was using an API service to be used by external applications, where I needed to implement the authorization of valid requests by
Progress Bar Using AJAX/PHP
Progress Bar For Large Uploads Using AJAX/PHP Problem: When large files are being uploaded, a server at the back takes time to upload the same file. Users have to wait irrespective of knowing, whether the file is even being uploaded
Best Practices for Logging in Node js
Collecting Information or data from the system and storing it in a specific file is called logging. It may contain information or data for short or longer periods. Logs are the only way to troubleshoot an issue which the user
NodeJs Callback – Asynchronous Functions
NodeJs Callback NodeJs is an open-source server environment and it is free. It enables javascript to run on the server-side. It runs on various platforms(Windows, Linux, Mac, etc.). Callback is asynchronous equivalent code for a function. A callback function is
Auto-Renew “Let’s encrypt” SSL Certificate using certbot
Auto-Renew “Let’s encrypt” SSL Certificate using certbot Make sure Domain is pointed to the server and should only be using IPv4 version. IPv6 will not work and you must have pre-configured the domain in apache configuration and make sure your