Composer conflict, how can we use it?

Today I found a very useful Composer schema package link option named conflict, which is useful when third-party code you rely on is too permissive for your needs. At the time of writing, the conflict man page states Lists packages that conflict with this version of this package. They will…

AWS Cloud Development Kit (AWS CDK)

In Madisoft utilizziamo da sempre le buone pratiche per la gestione delle nostre infrastrutture. Abbiamo sempre pensato che il cloud fosse la scelta giusta per i nostri servizi, ma soprattutto eravamo certi che gestire la nostra infrastruttura come codice, ci avrebbe rallentato leggermente nelle fasi iniziali dei nostri progetti, ma…

The C in CSS: cascading

The Cascade is a fundamental element of CSS: it means that in order to fully understand how an element will be rendered, a developer should be aware of how weight, specificity, and order will affect the process. In presence of multiple rules competing for the styling of an element, the…

Tips and tricks for Simple Storage Service S3

Simple Storage Service – S3 is one of the first services created by Amazon AWS, and it is also one of the most popular. Its simplicity has determined its great success. In addition to the most commonly used functions or methods of use, there are some functions or features that…

PHP tip: array_diff an array of objects

That’s tricky! Let’s assume we have two arrays like these:

Looking at these few lines I would expect that those two arrays are different but if we compare them with php array_diff function they’re the same:

This happens because array_diff compares array elements as string so it calls the __toString…

Amazon Managed Blockchain

Una delle tecnologie più recenti e più promettenti è quella della blockchain(Attenzione alla “B”, con la maiuscola si fa riferimento alla Blockchain di Bitcoin, con la “b” minuscola alla tecnologia blockchain dove l’asset di riferimento non è necessariamente il Bitcoin). In questo breve articolo non vi descriveremo, in modo dettagliato,…

Lightweight controllers everywhere in Symfony

The usual way of defining a controller in a default Symfony installation is by placing it in the src/Controller directory, but there might be situations where you just don’t want to do that. For instance, if you’re using some sort of domain-driven design and want to organize your project according…

1 2 7