API Composition Pattern

• 2 min read • Ali Ben Messaoud

When we write code to query multiple service endpoints, we have two options to follow: 1/ the complex but the powerful option is CQRS or 2/ the simple one is...

Read More

Sidecar Pattern, What is and When to Use?

• 4 min read • Ali Ben Messaoud

In a distributed architecture, an component of an application should do only one job and do it well. But sometimes, it needs to ship some extra tasks to fulfill some...

Read More

Top 5 React Hooks

• 5 min read • Ali Ben Messaoud

Facebook introduced React Hooks at the beginning of 2019 and quickly gained popularity among React developers. Through my experience, I used existing hooks, wrote my custom hooks, and developed some...

Read More

CORS - What It Is and How It Works

• 6 min read • Ali Ben Messaoud

In modern web application, the frontend and the backend of the applications are separated in several servers, and therefore they have two domains or base URLs. For instance: app.samedomain.com for...

Read More

SOLID / IDEALS - Microservice Design Principles

• 2 min read • Ali Ben Messaoud

As developers, we build software and make decisions daily that can influence our code and the system’s design. Small changes in the code can result in bugs. For these reasons,...

Read More

The Missing Layer

• 5 min read • Ali Ben Messaoud

Over the years, we saw many practices when developing applications, especially when using patterns such as MVC. When using this pattern, the model and its role in an application was...

Read More

The Key by Stack Overflow

• 30 sec read • Ali Ben Messaoud

Copying and pasting answers from Stack Overflow is a practice almost all developers can relate to. It is not a bad thing. It helps to LEARN from many developers with...

Read More

Designing a Java API

• 2 min read • Ali Ben Messaoud

API is the acronym for Application Programming Interface, and it is a thing that developers use to create features. Also, it a software intermediary that allows two applications to talk...

Read More

Java and Future

• 2 min read • Ali Ben Messaoud

Java has invested in a lot of various technologies and tools. With the six-month release cycles, Java is evolving quickly and passed from version 11 to 16 in less than...

Read More

The Basics of Elasticsearch Scroll API

• 5 min read • Ali Ben Messaoud

Lately, I have had problems processing many documents from Elasticsearch because the max result window size is 10000 by default. While a search request returns a single page of results,...

Read More