CSS vh and vw units for responsive web sites

Let’s talk about the CSS VH and VW units.Today’s websites must adapt better and better to new generations of browsers due to the fact that there is no longer a single type of device on which our site can be viewed. There are now an infinite series of devices, including […]

Read More…

Angular Adapter pattern

Angular Adapter pattern

Let’s see an Angular version of the Adapter pattern.Mapping allow us to decrease coupling between what arrives from a remote BE on our FE. We can take advantage of one of the Gang of Four’s design patterns (the Adapter pattern) to transform the external response in what we want. Adapter […]

Read More…

PHP Operators: Null Coalescing (??) and Spaceship (<=>)

PHP 7 introduced two powerful operators that significantly simplify common coding tasks: the null coalescing operator (??) and the spaceship operator (<=>). These operators provide cleaner, more concise alternatives to verbose conditional statements, improving code readability and efficiency. The Null Coalescing Operator (??) The null coalescing operator (??) is a […]

Read More…

Simple logging system for Angular

Logging system

It can often be useful to have a centralized point where to keep an eye on the events that occur on our site. Today we’ll create a simple logging system for Angular, to manage everything in one place. To start, we create the enum that takes care of ordering the […]

Read More…

“Maybe you were looking for…” 404 page

Maybe you were looking for 404 page

Sometimes we see a useful tip when we search for a command or a page and we find a 404 “Not found” page or a “command not found” if we are from the command line.This behavior is given by an algorithm named: “Levenshtein distance algorithm”.This particular algorithm allows us to […]

Read More…

BlogoBay
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.