Fast and Furious - Fail Fast

• 1 min read • Ali Ben Messaoud

We’ve all heard the phrase fail fast. Also, fail fast, fail often; or fail fast, succeed faster has been around for years. Fail fast suggests that if it is possible...

Read More

CloudEvents Spec

• 3 min read • Ali Ben Messaoud

I’ve been asking my self the same question for a long time now: what is the best way to define a structure of an event in an event-driven app? CloudEvents...

Read More

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 the system and the developer experience. Wrong changes in the code can result in bugs and bad user...

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