Tutorials
NodeJS Promises vs aSync

1. Promises A Promise is an object representing a value that will be available in the future (resolved or rejected).It’s the foundation of async handling in modern JS. Example: 👉 You attach .then() for success, .catch() for errors.👉 Chaining works, but deeply nested .then() can get messy. 🔹 2. async/await async/await is syntax sugar on […]

Read more
Tutorials
NojeJs How to remember Assertions

The Mental Model: "Action vs Comparison" 1. Comparison Assertions - Compare two values These take two values (actual, expected) javascript // Pattern: assert.method(ACTUAL, EXPECTED) assert.equal(actual, expected) assert.strictEqual(actual, expected) assert.deepEqual(actual, expected) assert.deepStrictEqual(actual, expected) Memory trick: "Equal" in the name → needs two things to compare. 2. Action Assertions - Test behavior/actions These take a function that performs an action javascript // Pattern: assert.method(ACTION_FUNCTION) assert.throws(() => { […]

Read more
Tutorials
NodeJs Event Loop

Deep Dive into the Node.js Event Loop This document provides a comprehensive explanation of the Node.js Event Loop, including its phases, the difference between blocking and non-blocking I/O, the role of timers and immediates, how yielding works, and the implications of CPU-heavy tasks in Node.js. 1. What is the Event Loop? Node.js is built on […]

Read more
Tutorials
Magento Order State vs Order Status

Understanding Order Processing in Magento In the context of Magento, an e-commerce platform, "Order State" and "Order Status" are essential concepts that govern the lifecycle of customer orders. While they are closely related, they serve distinct roles in managing the progression of orders through various stages. Order Status: Presenting Order Progress "Order Status" in Magento […]

Read more
Elastic Search
How to Enable 'eq' Filter GraphQL Search for an Custom Attribute of Type Text in Magento 2

Generally there are 3 types of filter that you can use with graphql search and these filter type depends upon your attribute configuration. FilterEqualTypeInput - Input type is set to Yes/No, Select, or Multiple select. Your filter can contain the eq or in attribute. Use the eq attribute to exactly match the specified string. Use the in attribute to filter on a comma-separated list […]

Read more
Tutorials
Exploring App Builder: A Magento Developer's Perspective.

What is App Builder When we, as Magento developers, encounter the term "App Builder," our initial thought might be related to building iOS or Android applications. However, Adobe's App Builder is not designed for typical mobile apps. In Adobe's context, the term "App Builder" refers to a comprehensive framework that empowers enterprise developers to create […]

Read more
Fastly
How to Analyze fastly bandwidth consumption with Newrelic

If you are a Adobe Commerce customer, in general there is no hard limit set on how much fastly Bandwidth can be consumed. But if the bandwidth consumption is unreasonable high Adobe might ask you to look in to it and fix it. In general the Bandwidth consumption is directly related to the site traffic. […]

Read more
Tutorials
Magento 2 Full page Caching With Varnish In Depth

What is Full Page caching In todays world its very important that we serve any page within 3s to retain the customer. In a system like Magento which involves very heavy operation to generate a page content it has become mandatory to to make use to caching mechanism which will avoid hitting the backend server […]

Read more
DevOps
Virtualization & Docker Fundamentals for Beginners

Why Docker Docker primarily helps in 2 scenarios. Local Development Lets say if you want to install Magento, First you have to install the below applications as per the system requirement PHP Nginx MySql Elasticsearch RabbitMq etc To do so you have the look for all the respective installation steps and install it one by […]

Read more
Rest Api
Magento 2 - How Rest API Response data is Generated

In this blog we will look in to how Magento generates the data for the rest API. When you think of building a Rest API the thing that comes in our mind is generally the below. Url Endpoint Input parameters Json Return Data and the implementation would be some think like the below Create A […]

Read more