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…
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…
This article describes, from an infrastructural point of view, how to use together the doctrine sharding and Amazon Aurora Autoscaling, on our databases. Nuvola is our main project, which allows…
That’s tricky! Let’s assume we have two arrays like these:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
class Foo { public $bar; public $flag; public function __construct(string $bar, bool $flag) { $this->bar = $bar; $this->flag = $flag; } public function __toString(): string { return $this->bar; } } $array1 = [ new Foo('test', true), ]; $array2 = [ new Foo('test', false), ]; |
Looking at these few lines I would expect that those two arrays are different but if we compare them…
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…
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…
In this article we’re gonna talk about composition over inheritance but not approaching this topic from a theoretical point of view (you can find dozens of good articles online by…
Tagged services Per indicare che un servizio svolge un particolare ruolo in Symfony è possibile configurarlo aggiungendo uno o più tags alla sua definizione. Per esempio, etichettando un servizio con…
There are various types of code reuse in Twig but, what are the differences between them? In this article we’ll explore the differences between include, embed and macro. First of…
In questo articolo, tramite un semplice playground, mostreremo il funzionamento della proprietà css position: sticky. Iniziamo gettando le basi del nostro progetto: Fin qui niente di particolare: abbiamo un div…
Con la versione 3.3, Symfony ha introdotto l’autowrire e l’autoconfigure dei servizi, risparmiando a noi developer parecchio lavoro “noioso”. Spesso capita di dovere iniettare un repository Doctrine: out of the…
Capita di voler utilizzare Redis per memorizzare informazioni non fondamentali o che possono essere rigenerate anche nel caso non fossero accessibili.In questi casi se il server Redis dovesse non essere…
Autore: Stefano Frasca Gli indicatori di avanzamento informano gli utenti sullo stato dei processi in corso, come il caricamento di un’app, lo stato di una richiesta remota, l’invio di un…