Mohamed Mayallo

Mohamed Mayallo @mayallo

About: I'm a Software Engineer Passionate about Clean Code, Design Patterns, and System Design. Learning something new every day. Feel free to say Hi on LinkedIn at https://www.linkedin.com/in/mayallo

Joined:
May 12, 2019

Mohamed Mayallo
articles - 28 total

Postgres SQL FILTER: A Smarter CASE and CTE Alternative

Introduction When you build reports in SQL, you often need to count or average values...

Learn More 9 1Jun 30

Can GraphQL Call REST API?

Introduction Yes, GraphQL can call REST APIs. In fact, this is a common way to use GraphQL...

Learn More 11 0Jun 18

Are Nx Monorepo Configurations Really Complex?

Introduction This is the second part of our Nx monorepo series. If you haven't yet, you...

Learn More 10 1Jun 17

SQL COALESCE in Postgres: A Simple Guide

Introduction In a database, we often find empty places in our tables. These are not zeros...

Learn More 12 5Jun 9

Nx Monorepo Guide: React & Node Fullstack App

What is a Monorepo and Why Nx? Ever find yourself checking many projects, each in its own...

Learn More 9 2Jun 5

TypeScript Type Vs Interface? The Answer Is Type!

Introduction In TypeScript, you can define custom shapes using type aliases or interface....

Learn More 8 2May 20

Deep Copy vs Shallow Copy in JavaScript: Complete Guide

Understanding Object References in JavaScript Have you ever changed something you thought...

Learn More 7 0May 18

MongoDB Views or Materialized Views: When to Use?

Intoduction MongoDB offers powerful tools to simplify data access and improve performance....

Learn More 10 3May 13

Facade vs Proxy vs Adapter Design Patterns

Facade vs Proxy vs Adapter Design Patterns Understand the core differences, use cases,...

Learn More 30 1May 12

Go Concurrency: Mutexes vs Channels with Examples

Introduction When building concurrent applications in Go, synchronization is crucial to...

Learn More 9 0Jan 8

Unit, Integration, and E2E Testing in One Example Using Jest

Introduction Many developers face challenges when it comes to testing their code. Without...

Learn More 21 6Nov 14 '24

How I Improved Video Streaming with FFmpeg and Node.js

Introduction Nowadays, videos are everywhere. If you think to entertain yourself, you...

Learn More 10 0Nov 5 '24

Is Interface Segregation Principle Redundant?

Introduction Do you know that 50% of software development time is spent on maintenance? As...

Learn More 6 0Jul 28 '23

Group by Year, Month, or Day in PostgreSQL

Introduction PostgreSQL is one of the best relational databases that developers use on a...

Learn More 9 0Jun 26 '23

Exponentiation in JavaScript: A Beginner’s Guide

Introduction Exponentiation refers to a mathematical process of multiplying a number by...

Learn More 30 11Jun 24 '23

How to Break from forEach in JavaScript?

Introduction In JavaScript, forEach() is a FUNCTION that loops over an array of elements....

Learn More 18 8Jun 17 '23

The Double Question Mark (Nullish Coalescing Operator) in JavaScript

Introduction In JavaScript, the Double Question Mark ?? is known as Nullish Coalescing...

Learn More 4 0Jun 14 '23

Add Element to Array just if It Doesn't Exist in the Array

Introduction In JavaScript, arrays allow duplicating elements and don’t guarantee the...

Learn More 5 0Jun 8 '23

Liskov Substitution Principle Isn’t Complex. Just Give It A Try

Introduction As we all know, software requirements always change, and we as developers...

Learn More 10 0Jan 22 '23

Open-Closed Principle: The Hard Parts

Introduction SOLID principles are a set of principles set by Robert C.Martin (Uncle Bob)....

Learn More 18 0Sep 29 '22

Do You Really Know, What Is Single Responsibility?

Introduction I believe that every developer should be familiar with the SOLID principles....

Learn More 12 0Sep 14 '22

UML in Agile Simply Explained

Introduction UML is used to simplify written documentation. It is a way to visualize...

Learn More 1 0Jul 27 '22

The 8 Fallacies of Distributed Systems Simply Explained

Introduction The distributed systems fallacies are the false assumptions developers make...

Learn More 6 0Jul 27 '22

Locking-Based Isolation at SQL Server

Introduction In the SQL world, a transaction is a unit of work that include single or...

Learn More 15 0Jul 21 '22

How to use GraphQL Directives efficiently?

Introduction GraphQL is one of the most fantastic tools presented in the software world in...

Learn More 13 0Jun 4 '22

MongoDB GridFS, Made Simple

Introduction In fact, when you come to choosing your uploading methodology, there are a...

Learn More 9 0Apr 22 '22

Strategy Vs State Vs Template Design Patterns

Introduction As you know, Design Patterns are special solutions designed by experts for...

Learn More 5 0Mar 20 '22

4 Ways To Handle Async Operations In JavaScript

Using Callbacks, Promises, Async/Await, and Observables to handle Javascript asynchronous operations

Learn More 8 0Feb 21 '22