Our 2019 sfday talk about Doctrine, master-slave, and sharding
In October 2019, I was able to present a talk at the annual sfday, the Italian conference about Symfony. The main focus of my presentation was how we handle Doctrine…
In October 2019, I was able to present a talk at the annual sfday, the Italian conference about Symfony. The main focus of my presentation was how we handle Doctrine…
During these days, schools are closed due to the emergency for COVID-19, and staff quickly reorganized to work from home. Teachers began to carry out distance learning, so the pupils…
The problem Doctrine has a well defined internal order for the persist operations it executes during a flush. It’s called “commit order” and it’s the following: all entity inserts (topological…
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…
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…
[vc_row][vc_column][vc_column_text]Molti dicono che con l’avvento di ECMAScript 2015 si sia aperta una nuova era per il linguaggio Javascript e credo che non si possa fare a meno di concordare. Da…
[vc_row][vc_column][vc_column_text]Consultando la documentazione della libreria React Navigation siamo abituati a vedere i componenti che fungono da Screen definiti in termini di class components:[/vc_column_text][vc_column_text]
1 2 3 4 5 6 7 |
class HomeScreen extends React.Component { static navigationOptions = { title: 'Home', }; /* render function, etc */ } |
[/vc_column_text][vc_column_text]Per questo motivo credo venga naturale…
Author: Stefano Frasca 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…
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…